1 |
commit: e2a120974c585b9ee3413788ed96dd7776de48bf |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Tue Apr 20 08:17:08 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 20 12:35:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a12097 |
7 |
|
8 |
dev-java/commons-codec: bump to 1.15 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/784128 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/20469/commits/9ba6924beb50f819bef8c468e358ccc1391d75ae |
14 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
15 |
|
16 |
dev-java/commons-codec/Manifest | 1 + |
17 |
dev-java/commons-codec/commons-codec-1.15.ebuild | 56 ++++++++++++++++++++++++ |
18 |
2 files changed, 57 insertions(+) |
19 |
|
20 |
diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest |
21 |
index ac0569a673c..627521e1cb8 100644 |
22 |
--- a/dev-java/commons-codec/Manifest |
23 |
+++ b/dev-java/commons-codec/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST commons-codec-1.11.tar.gz 369538 BLAKE2B 6b77cb3c69c81a9684b298ac5233b788d6651ecc96b70ac7fda9face5af5a60970c5bb2531fd285d20dce7732829f7470b9e4941d63025faf47247410f1ffba2 SHA512 b3159308f28b2fc50208421412d8cc81f439cc07dc3d071df7b50f2d862aab65b3d20bc8eb2906367a05ecf5138c56b5f12c6cf9c224def8b8286fe12ac5346f |
26 |
+DIST commons-codec-1.15.tar.gz 423639 BLAKE2B 5d9d3dd44fda7eee77048eaa1e28f54f9baff7ad276f7e718f4a4d6c5b26605914809db538e9832bf06b1468a65432645ef9de74aec9f9af9973668a82bd996f SHA512 dcf0b86f269a96362dca5b36b9e764a07e390634804b359d4dbd1a0c50bfcc9f778e3797f196e1f553d76dd25b3c6fd016f0ffbbca856fa6c88d3d55791889ce |
27 |
DIST commons-codec-1.7-src.tar.gz 291251 BLAKE2B b8fecdb9b88a21ceb3106a13332493617ecd2c8064c84a1514dec1c1c254e18116ff4926f7445bef4171000ba77da411efd6a93fe80a4795e887832035373e10 SHA512 31358283ac2827cb05486b8ff1512242153f61deb086f7fe145ee3ca38d96e43fba080a1e89a3b8cd44d09761015ff4dbe5226d29b7f9fcd59e68ca7701b28d6 |
28 |
|
29 |
diff --git a/dev-java/commons-codec/commons-codec-1.15.ebuild b/dev-java/commons-codec/commons-codec-1.15.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..c053b0fec15 |
32 |
--- /dev/null |
33 |
+++ b/dev-java/commons-codec/commons-codec-1.15.ebuild |
34 |
@@ -0,0 +1,56 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+# Skeleton command: |
39 |
+# java-ebuilder --generate-ebuild --workdir . --pom commons-codec-1.15-src/pom.xml --download-uri https://apache.osuosl.org/commons/codec/source/commons-codec-1.15-src.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild commons-codec-1.15.ebuild |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+JAVA_PKG_IUSE="doc source test" |
44 |
+MAVEN_ID="commons-codec:commons-codec:1.15" |
45 |
+JAVA_TESTING_FRAMEWORKS="junit-4" |
46 |
+ |
47 |
+inherit java-pkg-2 java-pkg-simple |
48 |
+ |
49 |
+DESCRIPTION="Implementations of common encoders and decoders in Java" |
50 |
+HOMEPAGE="https://commons.apache.org/proper/commons-codec/" |
51 |
+SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz -> ${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
56 |
+ |
57 |
+# Compile dependencies |
58 |
+# POM: ${P}-src/pom.xml |
59 |
+# test? junit:junit:4.13 -> >=dev-java/junit-4.13.1:4 |
60 |
+# test? org.apache.commons:commons-lang3:3.8 -> >=dev-java/commons-lang-3.11:3.6 |
61 |
+ |
62 |
+DEPEND=" |
63 |
+ >=virtual/jdk-1.8:* |
64 |
+ test? ( |
65 |
+ >=dev-java/commons-lang-3.11:3.6 |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ >=virtual/jre-1.8:* |
71 |
+" |
72 |
+ |
73 |
+S="${WORKDIR}" |
74 |
+ |
75 |
+JAVA_SRC_DIR="${P}-src/src/main/java" |
76 |
+JAVA_RESOURCE_DIRS=( |
77 |
+ "${P}-src/src/main/resources" |
78 |
+ "${P}-src" |
79 |
+) |
80 |
+ |
81 |
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,commons-lang-3.6" |
82 |
+JAVA_TEST_SRC_DIR="${P}-src/src/test/java" |
83 |
+JAVA_TEST_RESOURCE_DIRS=( |
84 |
+ "${P}-src/src/test/resources" |
85 |
+ "${P}-src" |
86 |
+) |
87 |
+ |
88 |
+# testSha224_PathAsHex(org.apache.commons.codec.digest.DigestUtilsTest) |
89 |
+# java.nio.file.NoSuchFileException: src/test/resources/org/apache/commons/codec/empty.bin |
90 |
+JAVA_TEST_EXCLUDES="org.apache.commons.codec.digest.DigestUtilsTest" |