Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/qdox/
Date: Fri, 02 Oct 2020 17:56:47
Message-Id: 1601661397.459d6f59e5bb3705950aa680ae1b39a0c932a827.fordfrog@gentoo
1 commit: 459d6f59e5bb3705950aa680ae1b39a0c932a827
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 17:56:22 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 17:56:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459d6f59
7
8 dev-java/qdox: eapi7, min java to 1.8
9
10 Closes: https://bugs.gentoo.org/745804
11 Package-Manager: Portage-3.0.8, Repoman-3.0.1
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 .../{qdox-1.12.1-r1.ebuild => qdox-1.12.1-r2.ebuild} | 16 ++++++++++------
15 .../qdox/{qdox-1.6.3-r1.ebuild => qdox-1.6.3-r2.ebuild} | 8 ++++----
16 2 files changed, 14 insertions(+), 10 deletions(-)
17
18 diff --git a/dev-java/qdox/qdox-1.12.1-r1.ebuild b/dev-java/qdox/qdox-1.12.1-r2.ebuild
19 similarity index 92%
20 rename from dev-java/qdox/qdox-1.12.1-r1.ebuild
21 rename to dev-java/qdox/qdox-1.12.1-r2.ebuild
22 index 7100ae1aba6..559d80d7961 100644
23 --- a/dev-java/qdox/qdox-1.12.1-r1.ebuild
24 +++ b/dev-java/qdox/qdox-1.12.1-r2.ebuild
25 @@ -1,7 +1,7 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 +# Copyright 1999-2020 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI="5"
31 +EAPI=7
32
33 JAVA_PKG_IUSE="doc source test"
34
35 @@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${PN}-${PV}"
36
37 CDEPEND="dev-java/ant-core:0"
38
39 -DEPEND=">=virtual/jdk-1.4
40 +DEPEND=">=virtual/jdk-1.8
41 app-arch/unzip:0
42 dev-java/byaccj:0
43 >=dev-java/jflex-1.6.1:0
44 @@ -27,11 +27,15 @@ DEPEND=">=virtual/jdk-1.4
45 test? ( dev-java/junit:0 )
46 ${CDEPEND}"
47
48 -RDEPEND=">=virtual/jre-1.4
49 +RDEPEND=">=virtual/jre-1.8
50 ${CDEPEND}"
51
52 -java_prepare() {
53 - epatch "${FILESDIR}"/jflex-1.6.1.patch
54 +PATCHES=(
55 + "${FILESDIR}/jflex-1.6.1.patch"
56 +)
57 +
58 +src_prepare() {
59 + default
60
61 if ! use test ; then
62 rm src/java/com/thoughtworks/qdox/tools/QDoxTester.java
63
64 diff --git a/dev-java/qdox/qdox-1.6.3-r1.ebuild b/dev-java/qdox/qdox-1.6.3-r2.ebuild
65 similarity index 87%
66 rename from dev-java/qdox/qdox-1.6.3-r1.ebuild
67 rename to dev-java/qdox/qdox-1.6.3-r2.ebuild
68 index 214262e8879..8159998cc6c 100644
69 --- a/dev-java/qdox/qdox-1.6.3-r1.ebuild
70 +++ b/dev-java/qdox/qdox-1.6.3-r2.ebuild
71 @@ -1,7 +1,7 @@
72 -# Copyright 1999-2019 Gentoo Authors
73 +# Copyright 1999-2020 Gentoo Authors
74 # Distributed under the terms of the GNU General Public License v2
75
76 -EAPI=6
77 +EAPI=7
78
79 JAVA_PKG_IUSE="doc source"
80
81 @@ -16,10 +16,10 @@ SLOT="1.6"
82 LICENSE="Apache-2.0"
83
84 DEPEND="
85 - >=virtual/jdk-1.6"
86 + >=virtual/jdk-1.8"
87
88 RDEPEND="
89 - >=virtual/jre-1.6"
90 + >=virtual/jre-1.8"
91
92 S="${WORKDIR}"