summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-05 08:40:18 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-07 08:38:42 +0100
commitcea41a44eca0a8bf0eb591a58199c2f4d9a6dea9 (patch)
tree3a77c466761031192e530f83048e9c6dabd3435c /dev-java
parentdev-java/lzmajio: fix SRC_URI, update EAPI 7 -> 8 (diff)
downloadgentoo-cea41a44eca0a8bf0eb591a58199c2f4d9a6dea9.tar.gz
gentoo-cea41a44eca0a8bf0eb591a58199c2f4d9a6dea9.tar.bz2
gentoo-cea41a44eca0a8bf0eb591a58199c2f4d9a6dea9.zip
dev-java/jai-imageio-jpeg2000: style update, update EAPI 7 -> 8
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39208/commits/66f69ba8a39ad4ae56b0de0e35bed2171362aeba Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0-r1.ebuild (renamed from dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.ebuild)31
1 files changed, 14 insertions, 17 deletions
diff --git a/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.ebuild b/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0-r1.ebuild
index ed8e0ac6ef1a..35b593e79ae5 100644
--- a/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0.ebuild
+++ b/dev-java/jai-imageio-jpeg2000/jai-imageio-jpeg2000-1.4.0-r1.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom jai-imageio-jpeg2000-jai-imageio-jpeg2000-1.4.0/pom.xml --download-uri https://github.com/jai-imageio/jai-imageio-jpeg2000/archive/refs/tags/jai-imageio-jpeg2000-1.4.0.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jai-imageio-jpeg2000-1.4.0.ebuild
-
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="com.github.jai-imageio:jai-imageio-jpeg2000:1.4.0"
@@ -14,28 +11,28 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="JPEG2000 support for Java Advanced Imaging Image I/O Tools API"
HOMEPAGE="https://github.com/jai-imageio/jai-imageio-jpeg2000"
-SRC_URI="https://github.com/jai-imageio/${PN}/archive/refs/tags/${P}.tar.gz"
+SRC_URI="https://github.com/jai-imageio/${PN}/archive/${P}.tar.gz"
+S="${WORKDIR}"
LICENSE="Sun-BSD-no-nuclear-2005"
SLOT="0"
KEYWORDS="amd64 arm64 ppc64"
-# Common dependencies
-# POM: ${PN}-${P}/pom.xml
-# com.github.jai-imageio:jai-imageio-core:1.4.0 -> >=dev-java/jai-imageio-core-1.4.0:0
+CP_DEPEND="dev-java/jai-imageio-core:0"
-CDEPEND="dev-java/jai-imageio-core:0"
-DEPEND="${CDEPEND}
- >=virtual/jdk-1.8:*"
-RDEPEND="${CDEPEND}
- >=virtual/jre-1.8:* "
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
-S="${WORKDIR}"
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
-JAVA_GENTOO_CLASSPATH="jai-imageio-core"
-JAVA_SRC_DIR="${PN}-${P}/src/main/java"
JAVA_RESOURCE_DIRS="${PN}-${P}/src/main/resources"
+JAVA_SRC_DIR="${PN}-${P}/src/main/java"
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_SRC_DIR="${PN}-${P}/src/test/java"
JAVA_TEST_RESOURCE_DIRS="${PN}-${P}/src/test/resources"
+JAVA_TEST_SRC_DIR="${PN}-${P}/src/test/java"