diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-07-05 13:41:02 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-07-05 13:41:30 +0200 |
commit | 8a1f6a090df1f64290e73f5b1f3da49c90927dbf (patch) | |
tree | 96558cad224adda9d08213a71bc3d986b2e7937c /dev-java | |
parent | dev-java/javassist: add 3.29.0 (diff) | |
download | gentoo-8a1f6a090df1f64290e73f5b1f3da49c90927dbf.tar.gz gentoo-8a1f6a090df1f64290e73f5b1f3da49c90927dbf.tar.bz2 gentoo-8a1f6a090df1f64290e73f5b1f3da49c90927dbf.zip |
dev-java/javassist: DEPEND jdk 8 if not test, if otherwise jdk 11
Also minor style fixes.
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/javassist/javassist-3.29.0.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-java/javassist/javassist-3.29.0.ebuild b/dev-java/javassist/javassist-3.29.0.ebuild index ad9f9e436cac..712141e86f6e 100644 --- a/dev-java/javassist/javassist-3.29.0.ebuild +++ b/dev-java/javassist/javassist-3.29.0.ebuild @@ -20,9 +20,10 @@ LICENSE="Apache-2.0 LGPL-2.1 MPL-1.1" SLOT="3" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" -# Tests run: 431, Failures: 6 +# Tests run: 431, Failures: 6 # Cannot solve those test failures. Using "mvn test" they all pass. -RESTRICT="test" # https://bugs.gentoo.org/856364 +# https://bugs.gentoo.org/856364 +RESTRICT="test" # Compile dependencies # POM: pom.xml @@ -30,16 +31,17 @@ RESTRICT="test" # https://bugs.gentoo.org/856364 # test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!! DEPEND=" - >=virtual/jdk-11:* + !test? ( + >=virtual/jdk-8:* + ) test? ( + >=virtual/jdk-11:* dev-java/hamcrest-library:1.3 ) " # https://github.com/jboss-javassist/javassist/blob/rel_3_29_0_ga/pom.xml#L156-L157 -RDEPEND=" - >=virtual/jre-11:* -" +RDEPEND=">=virtual/jre-8:*" S="${WORKDIR}/${PN}-rel_${PV//./_}_ga" |