Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-io/
Date: Fri, 24 Sep 2021 07:14:20
Message-Id: 1632467654.f73ec67966768edf2d3245715bf9a2c96504a062.fordfrog@gentoo
1 commit: f73ec67966768edf2d3245715bf9a2c96504a062
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 24 07:08:03 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 24 07:14:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73ec679
7
8 dev-java/commons-io: bump to 2.11.0
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 dev-java/commons-io/Manifest | 1 +
14 dev-java/commons-io/commons-io-2.11.0.ebuild | 55 ++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/dev-java/commons-io/Manifest b/dev-java/commons-io/Manifest
18 index e3fecd8f067..5b36c1c384b 100644
19 --- a/dev-java/commons-io/Manifest
20 +++ b/dev-java/commons-io/Manifest
21 @@ -1 +1,2 @@
22 +DIST commons-io-2.11.0-sources.tar.gz 498841 BLAKE2B e45ae4400246d7469e8628f08d2f647ea670b994360c1150fe1f414beee5177e7af7c94589a5c81ce6996f2fb755441f29080ca9b69b98cb5ae1ad897f8f00b5 SHA512 e2ab8ebc9c328093a460f8f5f96c80bb45f5073ec7aaa0beabdcdeac2e97324292eab2e2cb8b64d8e78b2c5d89048ba84e50daa0965dffcbe2fd0da7ab789ee3
23 DIST commons-io-2.8.0-sources.tar.gz 445833 BLAKE2B 4fc6f9b66fa88adfc110742bd3eab55cbe165552f71d665f70fd54d4b0b79c4e76b45fccdb78c6ef64e476f54efc8b51adc9b2d7e880c71dbdb6bc5883d2fe55 SHA512 6189c72eff8661bfb8cfed95dd7ee32578b24b50f6586d4628a4dbfd3618853a72eb73da311729e55742ace47b2d38d3ce130ab87b684494d8ce33d1ccf14a2d
24
25 diff --git a/dev-java/commons-io/commons-io-2.11.0.ebuild b/dev-java/commons-io/commons-io-2.11.0.ebuild
26 new file mode 100644
27 index 00000000000..ef103119de0
28 --- /dev/null
29 +++ b/dev-java/commons-io/commons-io-2.11.0.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +# Skeleton command:
35 +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://mirror.dkm.cz/apache//commons/io/source/commons-io-2.11.0-src.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" --ebuild commons-io-2.11.0.ebuild
36 +
37 +EAPI=7
38 +
39 +JAVA_PKG_IUSE="doc source test"
40 +MAVEN_ID="commons-io:commons-io:2.11.0"
41 +
42 +inherit java-pkg-2 java-pkg-simple
43 +
44 +DESCRIPTION="Utility classes, stream implementations, file filters, and much more."
45 +HOMEPAGE="https://commons.apache.org/proper/commons-io/"
46 +SRC_URI="mirror://apache/commons/io/source/${P}-src.tar.gz -> ${P}-sources.tar.gz"
47 +LICENSE="Apache-2.0"
48 +SLOT="1"
49 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
50 +
51 +# Compile dependencies
52 +# POM: pom.xml
53 +# test? com.google.jimfs:jimfs:1.2 -> !!!groupId-not-found!!!
54 +# test? org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6
55 +# test? org.junit-pioneer:junit-pioneer:1.4.2 -> !!!groupId-not-found!!!
56 +# test? org.junit.jupiter:junit-jupiter:5.7.2 -> !!!groupId-not-found!!!
57 +# test? org.mockito:mockito-inline:3.11.2 -> !!!artifactId-not-found!!!
58 +# test? org.openjdk.jmh:jmh-core:1.32 -> !!!groupId-not-found!!!
59 +# test? org.openjdk.jmh:jmh-generator-annprocess:1.32 -> !!!groupId-not-found!!!
60 +
61 +DEPEND="
62 + >=virtual/jdk-1.8:*
63 + test? (
64 + >=dev-java/commons-lang-3.12.0:3.6
65 + )
66 +"
67 +
68 +RDEPEND="
69 + >=virtual/jre-1.8:*
70 +"
71 +
72 +# some test dependencies are missing
73 +RESTRICT="test"
74 +
75 +S="${WORKDIR}/${P}-src"
76 +
77 +JAVA_ENCODING="iso-8859-1"
78 +
79 +JAVA_SRC_DIR="src/main/java"
80 +
81 +JAVA_TEST_GENTOO_CLASSPATH="commons-lang-3.6"
82 +JAVA_TEST_SRC_DIR="src/test/java"
83 +JAVA_TEST_RESOURCE_DIRS=(
84 + "src/test/resources"
85 +)