From ecd84150e37701d39343c9659f1207312ef4fcec Mon Sep 17 00:00:00 2001 From: "Volkmar W. Pogatzki" Date: Fri, 17 Nov 2023 01:20:57 +0100 Subject: dev-java/commons-imaging: add verify-sig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Volkmar W. Pogatzki Signed-off-by: Miroslav Ć ulc --- dev-java/commons-imaging/Manifest | 1 + .../commons-imaging-1.0_alpha3-r1.ebuild | 45 ++++++++++++++++++++++ .../commons-imaging-1.0_alpha3.ebuild | 42 -------------------- 3 files changed, 46 insertions(+), 42 deletions(-) create mode 100644 dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild delete mode 100644 dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild (limited to 'dev-java') diff --git a/dev-java/commons-imaging/Manifest b/dev-java/commons-imaging/Manifest index 5472b1ce60c6..aa7a4a72d0f8 100644 --- a/dev-java/commons-imaging/Manifest +++ b/dev-java/commons-imaging/Manifest @@ -1 +1,2 @@ DIST commons-imaging-1.0-alpha3-src.tar.gz 39966281 BLAKE2B f0fbb6d7ae0c12be19fe13d3ff4e1cced5acfe7ea72326528c67b57fade73c0acee3eb8eaa62b3d40c473c0c2faf7f60ec190bc0954c5159405358bfac4efd42 SHA512 16300adb5873fef464bedfdce7e1368f52add8d33087f059667840880b8666024feeecdb278a53d5c3d8e76d01ab921ea146d41ca688757f0cf0c2f2b32b0d53 +DIST commons-imaging-1.0-alpha3-src.tar.gz.asc 833 BLAKE2B b28631badf344fa476a99db78e26a9453d033d21dba8484b2621a4cb0295ea262f58d2df4f8afd6d8090ecd0ea98ec2dca0168e2b401d662c335ad1ef9518b98 SHA512 b7e6691d5eac6f81657dc42aa69184da7fd1bf364da391ac4e1a27991d9a8bbba23296d58b874b4c69a20d39c3c1e821ca19c312f3e71b3acd8903156a2a0a1d diff --git a/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild new file mode 100644 index 000000000000..934b121a1c38 --- /dev/null +++ b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/commons/imaging/source/commons-imaging-1.0-alpha3-src.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild commons-imaging-1.0_alpha3.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.commons:commons-imaging:1.0-alpha2" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Apache Commons Imaging (previously Sanselan) is a pure-Java image library." +HOMEPAGE="https://commons.apache.org/proper/commons-imaging/" +SRC_URI="mirror://apache/commons/imaging/source/${P/_/-}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/imaging/source/${P/_/-}-src.tar.gz.asc )" +S="${WORKDIR}/${P/_/-}-src" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Compile dependencies +# POM: pom.xml +# test? commons-io:commons-io:2.7 -> >=dev-java/commons-io-2.11.0:1 +# test? org.hamcrest:hamcrest:2.2 -> !!!artifactId-not-found!!! +# test? org.junit.jupiter:junit-jupiter:5.6.2 -> !!!groupId-not-found!!! + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( {LICENSE,NOTICE,RELEASE-NOTES}.txt README.md ) +PATCHES=( "${FILESDIR}/commons-imaging-1.0_alpha3-PngChunk.javadoc.patch" ) + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.imaging" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} diff --git a/dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild b/dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild deleted file mode 100644 index b1acc8ef4f3c..000000000000 --- a/dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/commons/imaging/source/commons-imaging-1.0-alpha3-src.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild commons-imaging-1.0_alpha3.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.apache.commons:commons-imaging:1.0-alpha2" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Apache Commons Imaging (previously Sanselan) is a pure-Java image library." -HOMEPAGE="https://commons.apache.org/proper/commons-imaging/" -SRC_URI="mirror://apache/commons/imaging/source/commons-imaging-${PV/_/-}-src.tar.gz" -S="${WORKDIR}/${P/_/-}-src" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# Compile dependencies -# POM: pom.xml -# test? commons-io:commons-io:2.7 -> >=dev-java/commons-io-2.11.0:1 -# test? org.hamcrest:hamcrest:2.2 -> !!!artifactId-not-found!!! -# test? org.junit.jupiter:junit-jupiter:5.6.2 -> !!!groupId-not-found!!! - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -DOCS=( {LICENSE,NOTICE,RELEASE-NOTES}.txt README.md ) -PATCHES=( "${FILESDIR}/commons-imaging-1.0_alpha3-PngChunk.javadoc.patch" ) - -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.imaging" - -src_prepare() { - default #780585 - java-pkg-2_src_prepare -} -- cgit v1.2.3-65-gdbad