summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-05-24 09:10:00 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-05-24 09:10:16 +0200
commit82d52a7d556b982104ea41b90f1435235594c8f3 (patch)
tree3170406a04764d21a3194034c88e112b32b96c31 /dev-java/jgoodies-looks
parentsci-visualization/scidavis: add missing deps (diff)
downloadgentoo-82d52a7d556b982104ea41b90f1435235594c8f3.tar.gz
gentoo-82d52a7d556b982104ea41b90f1435235594c8f3.tar.bz2
gentoo-82d52a7d556b982104ea41b90f1435235594c8f3.zip
dev-java/jgoodies-looks: java set to 1.8, eapi7
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jgoodies-looks')
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild (renamed from dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild)16
1 files changed, 10 insertions, 6 deletions
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild
index bc04265b83bd..5ef161172daf 100644
--- a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0.ebuild
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-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
JAVA_PKG_IUSE="doc source"
@@ -24,19 +24,23 @@ CDEPEND="dev-java/jgoodies-common:1.8"
RDEPEND="
${CDEPEND}
- >=virtual/jre-1.6"
+ virtual/jre:1.8"
DEPEND="
${CDEPEND}
- app-arch/unzip
- >=virtual/jdk-1.6"
+ virtual/jdk:1.8"
+
+BDEPEND="
+ app-arch/unzip"
+
S="${WORKDIR}"/${P}
JAVA_SRC_DIR="src"
JAVA_GENTOO_CLASSPATH="jgoodies-common-1.8"
-java_prepare() {
+src_prepare() {
+ default
mkdir src || die
unzip ${P}-sources.jar -d src || die
rm "${S}"/pom.xml "${S}"/*.jar || die