Skip to content

Commit

Permalink
dev-java/plexus-classworlds: eapi7, min java 1.8, ant task via var
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <[email protected]>
  • Loading branch information
fordfrog committed Aug 27, 2020
1 parent 60bb60f commit b4daa5c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dev-java/plexus-classworlds/plexus-classworlds-2.2.3.ebuild
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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() {
Expand Down

0 comments on commit b4daa5c

Please sign in to comment.