diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-25 11:46:22 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-25 11:46:22 +0200 |
commit | 785ec13ab2562c87ef4ab644d6eace7a8b740bfd (patch) | |
tree | 8b9b5d7d0edc932a4b01d0ef3ab6f2071b4c7b3e | |
parent | dev-java/joda-convert: eapi7, doesn't compile with jdk:11, min jdk 1.8 (diff) | |
download | gentoo-785ec13ab2562c87ef4ab644d6eace7a8b740bfd.tar.gz gentoo-785ec13ab2562c87ef4ab644d6eace7a8b740bfd.tar.bz2 gentoo-785ec13ab2562c87ef4ab644d6eace7a8b740bfd.zip |
dev-java/joda-time: eapi7, min jdk 1.8
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r-- | dev-java/joda-time/joda-time-2.7-r1.ebuild (renamed from dev-java/joda-time/joda-time-2.7.ebuild) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-java/joda-time/joda-time-2.7.ebuild b/dev-java/joda-time/joda-time-2.7-r1.ebuild index 2f19a557d78d..bbf0efca3a84 100644 --- a/dev-java/joda-time/joda-time-2.7.ebuild +++ b/dev-java/joda-time/joda-time-2.7-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 JAVA_PKG_IUSE="doc examples source test" JAVA_ANT_REWRITE_CLASSPATH="true" @@ -17,15 +17,17 @@ KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-s RESTRICT="test" -DEPEND=">=virtual/jdk-1.5 +DEPEND=">=virtual/jdk-1.8 dev-java/joda-convert:0 test? ( dev-java/junit:0 dev-java/ant-junit:0 )" -RDEPEND=">=virtual/jre-1.5" +RDEPEND=">=virtual/jre-1.8" + +src_prepare() { + default -java_prepare() { rm -v *.jar || die "Failed to remove bundled jars." cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file." |