Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javassist/
Date: Tue, 05 Jul 2022 11:41:37
Message-Id: 1657021290.8a1f6a090df1f64290e73f5b1f3da49c90927dbf.flow@gentoo
1 commit: 8a1f6a090df1f64290e73f5b1f3da49c90927dbf
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 5 11:41:02 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 5 11:41:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1f6a09
7
8 dev-java/javassist: DEPEND jdk 8 if not test, if otherwise jdk 11
9
10 Also minor style fixes.
11
12 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
13
14 dev-java/javassist/javassist-3.29.0.ebuild | 14 ++++++++------
15 1 file changed, 8 insertions(+), 6 deletions(-)
16
17 diff --git a/dev-java/javassist/javassist-3.29.0.ebuild b/dev-java/javassist/javassist-3.29.0.ebuild
18 index ad9f9e436cac..712141e86f6e 100644
19 --- a/dev-java/javassist/javassist-3.29.0.ebuild
20 +++ b/dev-java/javassist/javassist-3.29.0.ebuild
21 @@ -20,9 +20,10 @@ LICENSE="Apache-2.0 LGPL-2.1 MPL-1.1"
22 SLOT="3"
23 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
24
25 -# Tests run: 431, Failures: 6
26 +# Tests run: 431, Failures: 6
27 # Cannot solve those test failures. Using "mvn test" they all pass.
28 -RESTRICT="test" # https://bugs.gentoo.org/856364
29 +# https://bugs.gentoo.org/856364
30 +RESTRICT="test"
31
32 # Compile dependencies
33 # POM: pom.xml
34 @@ -30,16 +31,17 @@ RESTRICT="test" # https://bugs.gentoo.org/856364
35 # test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!!
36
37 DEPEND="
38 - >=virtual/jdk-11:*
39 + !test? (
40 + >=virtual/jdk-8:*
41 + )
42 test? (
43 + >=virtual/jdk-11:*
44 dev-java/hamcrest-library:1.3
45 )
46 "
47
48 # https://github.com/jboss-javassist/javassist/blob/rel_3_29_0_ga/pom.xml#L156-L157
49 -RDEPEND="
50 - >=virtual/jre-11:*
51 -"
52 +RDEPEND=">=virtual/jre-8:*"
53
54 S="${WORKDIR}/${PN}-rel_${PV//./_}_ga"