summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-09-21 15:28:28 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-10-01 09:40:23 +0200
commit9fcef6d71f67f917d61d241421fa60c7e60b8988 (patch)
treed8fbf97a5b80036244e78c9b6aac818541c6c2f8 /dev-java
parentsci-calculators/bc-gh: drop 6.1.1-r1, 6.6.0, 6.6.1 (diff)
downloadgentoo-9fcef6d71f67f917d61d241421fa60c7e60b8988.tar.gz
gentoo-9fcef6d71f67f917d61d241421fa60c7e60b8988.tar.bz2
gentoo-9fcef6d71f67f917d61d241421fa60c7e60b8988.zip
dev-java/snappy: depend on commons-lang:3.6
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch11
-rw-r--r--dev-java/snappy/snappy-1.1.10.1-r1.ebuild (renamed from dev-java/snappy/snappy-1.1.10.1.ebuild)5
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch b/dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch
new file mode 100644
index 000000000000..064482eabb7f
--- /dev/null
+++ b/dev-java/snappy/files/snappy-1.1.10.1-commons-lang3.patch
@@ -0,0 +1,11 @@
+--- a/src/test/java/org/xerial/snappy/SnappyHadoopCompatibleOutputStreamTest.java
++++ b/src/test/java/org/xerial/snappy/SnappyHadoopCompatibleOutputStreamTest.java
+@@ -2,7 +2,7 @@ package org.xerial.snappy;
+
+ import org.apache.commons.io.FileUtils;
+ import org.apache.commons.io.IOUtils;
+-import org.apache.commons.lang.SystemUtils;
++import org.apache.commons.lang3.SystemUtils;
+ import org.apache.hadoop.conf.Configuration;
+ import org.apache.hadoop.io.compress.SnappyCodec;
+ import org.junit.AfterClass;
diff --git a/dev-java/snappy/snappy-1.1.10.1.ebuild b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
index 2813bcdd4901..9097dcb28f01 100644
--- a/dev-java/snappy/snappy-1.1.10.1.ebuild
+++ b/dev-java/snappy/snappy-1.1.10.1-r1.ebuild
@@ -35,7 +35,7 @@ DEPEND=">=virtual/jdk-1.8:*
test? (
dev-java/ant-junit4:0
dev-java/commons-io:1
- dev-java/commons-lang:2.1
+ dev-java/commons-lang:3.6
dev-java/plexus-classworlds:0
dev-java/xerial-core:0
)"
@@ -50,6 +50,7 @@ PATCHES=(
"${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch"
"${FILESDIR}/1.1.7.8-gentoo.patch"
"${FILESDIR}/snappy-1.1.10.1-SnappyOutputStreamTest.patch"
+ "${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch"
)
JAVA_RESOURCE_DIRS="src/main/resources"
@@ -57,7 +58,7 @@ JAVA_SRC_DIR="src/main/java"
JAVA_TEST_GENTOO_CLASSPATH="
commons-io-1
- commons-lang-2.1
+ commons-lang-3.6
junit-4
plexus-classworlds
xerial-core