summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-10 09:17:05 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-26 09:23:08 +0100
commit9afe97a5a966fbf6f1b3ae9bba718d9864451461 (patch)
tree35d733952a9ff9ac6cda2fdb83af235124a9cdeb /dev-java/jgoodies-looks
parentdev-java/icu4j: drop 75.1 (diff)
downloadgentoo-9afe97a5a966fbf6f1b3ae9bba718d9864451461.tar.gz
gentoo-9afe97a5a966fbf6f1b3ae9bba718d9864451461.tar.bz2
gentoo-9afe97a5a966fbf6f1b3ae9bba718d9864451461.zip
dev-java/jgoodies-looks: style update, update EAPI 7 -> 8
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39233/commits/38e6a520304eb59a825f0dc98c40863f75cd6450 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-r2.ebuild (renamed from dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild)28
1 files changed, 13 insertions, 15 deletions
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r2.ebuild
index bcb30c654081..dd773d43632c 100644
--- a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="doc source"
@@ -12,35 +12,33 @@ MY_PV=${PV//./_}
MY_P="${PN}-${MY_PV}"
DESCRIPTION="JGoodies Looks Library"
-HOMEPAGE="http://www.jgoodies.com/"
+HOMEPAGE="https://www.jgoodies.com"
SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
+S="${WORKDIR}"/${P}
LICENSE="BSD"
SLOT="2.6"
KEYWORDS="amd64"
-IUSE=""
-CDEPEND="dev-java/jgoodies-common:1.8"
+CP_DEPEND="dev-java/jgoodies-common:1.8"
RDEPEND="
- ${CDEPEND}
- virtual/jre:1.8"
+ ${CP_DEPEND}
+ virtual/jre:1.8
+"
DEPEND="
- ${CDEPEND}
- virtual/jdk:1.8"
-
-BDEPEND="
- app-arch/unzip"
+ ${CP_DEPEND}
+ virtual/jdk:1.8
+"
-S="${WORKDIR}"/${P}
+BDEPEND="app-arch/unzip"
JAVA_SRC_DIR="src"
-JAVA_GENTOO_CLASSPATH="jgoodies-common-1.8"
src_prepare() {
- default
+ java-pkg-2_src_prepare
mkdir src || die
unzip ${P}-sources.jar -d src || die
- rm "${S}"/pom.xml "${S}"/*.jar || die
+ rm "${S}"/*.jar || die
}