summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-04-20 14:43:15 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-20 14:43:15 +0200
commit0325d58168f7924895881e1284210b0380cc5f8b (patch)
tree7db014f60e79b56769b78efd3b68d9e3ff11f491
parentdev-java/commons-codec: bump to 1.15 (diff)
downloadgentoo-0325d58168f7924895881e1284210b0380cc5f8b.tar.gz
gentoo-0325d58168f7924895881e1284210b0380cc5f8b.tar.bz2
gentoo-0325d58168f7924895881e1284210b0380cc5f8b.zip
dev-java/commons-codec: fixed tests in 1.15 + added dropped arches
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--dev-java/commons-codec/commons-codec-1.15.ebuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/dev-java/commons-codec/commons-codec-1.15.ebuild b/dev-java/commons-codec/commons-codec-1.15.ebuild
index c053b0fec15..f67de5d44ad 100644
--- a/dev-java/commons-codec/commons-codec-1.15.ebuild
+++ b/dev-java/commons-codec/commons-codec-1.15.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
# Compile dependencies
# POM: ${P}-src/pom.xml
@@ -36,21 +36,15 @@ RDEPEND="
>=virtual/jre-1.8:*
"
-S="${WORKDIR}"
+S="${WORKDIR}/${P}-src"
-JAVA_SRC_DIR="${P}-src/src/main/java"
+JAVA_SRC_DIR="src/main/java"
JAVA_RESOURCE_DIRS=(
- "${P}-src/src/main/resources"
- "${P}-src"
+ "src/main/resources"
)
JAVA_TEST_GENTOO_CLASSPATH="junit-4,commons-lang-3.6"
-JAVA_TEST_SRC_DIR="${P}-src/src/test/java"
+JAVA_TEST_SRC_DIR="src/test/java"
JAVA_TEST_RESOURCE_DIRS=(
- "${P}-src/src/test/resources"
- "${P}-src"
+ "src/test/resources"
)
-
-# testSha224_PathAsHex(org.apache.commons.codec.digest.DigestUtilsTest)
-# java.nio.file.NoSuchFileException: src/test/resources/org/apache/commons/codec/empty.bin
-JAVA_TEST_EXCLUDES="org.apache.commons.codec.digest.DigestUtilsTest"