summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-03-12 11:19:16 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-03-12 13:18:02 +0100
commit1d5d0b52546fa2e2c781c4e10006ca945cb0beb7 (patch)
treee46119aadc869eb7c4a5c4c4e6f7b82dcb723de6 /dev-java/jformatstring
parentdev-java/jcip-annotations: eapi7, min jdk/jre to 1.8 (diff)
downloadgentoo-1d5d0b52546fa2e2c781c4e10006ca945cb0beb7.tar.gz
gentoo-1d5d0b52546fa2e2c781c4e10006ca945cb0beb7.tar.bz2
gentoo-1d5d0b52546fa2e2c781c4e10006ca945cb0beb7.zip
dev-java/jformatstring: eapi7, min jdk/jre 1.8
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jformatstring')
-rw-r--r--dev-java/jformatstring/jformatstring-2.0.3-r1.ebuild (renamed from dev-java/jformatstring/jformatstring-2.0.3.ebuild)12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-java/jformatstring/jformatstring-2.0.3.ebuild b/dev-java/jformatstring/jformatstring-2.0.3-r1.ebuild
index 2aaf83dfdd53..f0c536f80c94 100644
--- a/dev-java/jformatstring/jformatstring-2.0.3.ebuild
+++ b/dev-java/jformatstring/jformatstring-2.0.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
FINDBUGS_PV="3.0.1"
JAVA_PKG_IUSE="doc source"
@@ -15,10 +15,9 @@ HOMEPAGE="https://code.google.com/p/j-format-string"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
-RDEPEND=">=virtual/jre-1.5"
-DEPEND=">=virtual/jdk-1.5
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*
app-arch/unzip"
src_unpack() {
@@ -26,6 +25,7 @@ src_unpack() {
unpack ./jFormatString.jar
}
-java_prepare() {
+src_prepare() {
+ default
find -name "*.class" -delete || die
}