diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-10-02 19:56:22 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-10-02 19:56:37 +0200 |
commit | 459d6f59e5bb3705950aa680ae1b39a0c932a827 (patch) | |
tree | b15d3a2f438e5260c7b0d6de943406e39949a7c2 /dev-java/qdox | |
parent | app-i18n/fcitx-sayura: Use cmake.eclass. (diff) | |
download | gentoo-459d6f59e5bb3705950aa680ae1b39a0c932a827.tar.gz gentoo-459d6f59e5bb3705950aa680ae1b39a0c932a827.tar.bz2 gentoo-459d6f59e5bb3705950aa680ae1b39a0c932a827.zip |
dev-java/qdox: eapi7, min java to 1.8
Closes: https://bugs.gentoo.org/745804
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/qdox')
-rw-r--r-- | dev-java/qdox/qdox-1.12.1-r2.ebuild (renamed from dev-java/qdox/qdox-1.12.1-r1.ebuild) | 16 | ||||
-rw-r--r-- | dev-java/qdox/qdox-1.6.3-r2.ebuild (renamed from dev-java/qdox/qdox-1.6.3-r1.ebuild) | 8 |
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-java/qdox/qdox-1.12.1-r1.ebuild b/dev-java/qdox/qdox-1.12.1-r2.ebuild index 7100ae1aba62..559d80d7961e 100644 --- a/dev-java/qdox/qdox-1.12.1-r1.ebuild +++ b/dev-java/qdox/qdox-1.12.1-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 JAVA_PKG_IUSE="doc source test" @@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${PN}-${PV}" CDEPEND="dev-java/ant-core:0" -DEPEND=">=virtual/jdk-1.4 +DEPEND=">=virtual/jdk-1.8 app-arch/unzip:0 dev-java/byaccj:0 >=dev-java/jflex-1.6.1:0 @@ -27,11 +27,15 @@ DEPEND=">=virtual/jdk-1.4 test? ( dev-java/junit:0 ) ${CDEPEND}" -RDEPEND=">=virtual/jre-1.4 +RDEPEND=">=virtual/jre-1.8 ${CDEPEND}" -java_prepare() { - epatch "${FILESDIR}"/jflex-1.6.1.patch +PATCHES=( + "${FILESDIR}/jflex-1.6.1.patch" +) + +src_prepare() { + default if ! use test ; then rm src/java/com/thoughtworks/qdox/tools/QDoxTester.java diff --git a/dev-java/qdox/qdox-1.6.3-r1.ebuild b/dev-java/qdox/qdox-1.6.3-r2.ebuild index 214262e8879c..8159998cc6ce 100644 --- a/dev-java/qdox/qdox-1.6.3-r1.ebuild +++ b/dev-java/qdox/qdox-1.6.3-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 JAVA_PKG_IUSE="doc source" @@ -16,10 +16,10 @@ SLOT="1.6" LICENSE="Apache-2.0" DEPEND=" - >=virtual/jdk-1.6" + >=virtual/jdk-1.8" RDEPEND=" - >=virtual/jre-1.6" + >=virtual/jre-1.8" S="${WORKDIR}" |