summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-08-27 18:29:00 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-27 18:29:14 +0200
commitb4daa5c4d131a4ccfc450a7744a6ac1bd3c556f4 (patch)
tree6685b52701acde32e321bfbc6ea36b2369566274 /dev-java/plexus-classworlds
parentdev-java/plexus-classworlds: Add missing dependency to ant-junit4 (diff)
downloadgentoo-b4daa5c4d131a4ccfc450a7744a6ac1bd3c556f4.tar.gz
gentoo-b4daa5c4d131a4ccfc450a7744a6ac1bd3c556f4.tar.bz2
gentoo-b4daa5c4d131a4ccfc450a7744a6ac1bd3c556f4.zip
dev-java/plexus-classworlds: eapi7, min java 1.8, ant task via var
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/plexus-classworlds')
-rw-r--r--dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild b/dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild
index b9bea04df158..49465eea7b4e 100644
--- a/dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild
+++ b/dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild
@@ -1,9 +1,10 @@
# 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"
+WANT_ANT_TASKS="ant-junit4"
inherit java-pkg-2 java-ant-2
@@ -17,16 +18,15 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=virtual/jdk-1.6
- test? ( dev-java/ant-junit4 )"
-RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.8"
+RDEPEND=">=virtual/jre-1.8"
JAVA_ANT_REWRITE_CLASSPATH="true"
-EANT_TEST_GENTOO_CLASSPATH="junit-4"
-EANT_TEST_ANT_TASKS="ant-junit"
-java_prepare() {
+src_prepare() {
cp "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die
+
+ default
}
src_install() {