From 8d35656b4a4e3a2ad6f87abb36b9fc3987d95a53 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 26 Mar 2025 00:31:47 +0000 Subject: gentoo auto-resync : 26:03:2025 - 00:31:47 --- dev-java/Manifest.gz | Bin 55187 -> 55190 bytes dev-java/commons-compress/Manifest | 2 +- .../commons-compress-1.27.1-r1.ebuild | 73 +++++++++++++++++++++ .../commons-compress-1.27.1.ebuild | 73 --------------------- 4 files changed, 74 insertions(+), 74 deletions(-) create mode 100644 dev-java/commons-compress/commons-compress-1.27.1-r1.ebuild delete mode 100644 dev-java/commons-compress/commons-compress-1.27.1.ebuild (limited to 'dev-java') diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz index f961b7673408..a30cf86c2666 100644 Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ diff --git a/dev-java/commons-compress/Manifest b/dev-java/commons-compress/Manifest index a2f0603beb04..a6c8b2f7f68c 100644 --- a/dev-java/commons-compress/Manifest +++ b/dev-java/commons-compress/Manifest @@ -1,4 +1,4 @@ DIST commons-compress-1.27.1-src.tar.gz 61131529 BLAKE2B d6109c33d833548228e2bdcb2a5563526a7adede825de7422108d9e0890942e875b28032527bdc7c329306973c2ddc0da1995f028999c66b1ccefe5830a4a741 SHA512 c7a2cef26959e687ad19b96b5ba8393d7514095e13bf0f29bd41e6b3c3cb2260d8ff23283ff3d5fd137b2522b843e7f0f50ab46bcf0f66df5383674f35f223ab DIST commons-compress-1.27.1-src.tar.gz.asc 488 BLAKE2B d7ed8dfae26b41a8884deecfb8b09e827388749f9f2c1f762947dae61635c64a76e4f86171bf893eb4d6ca53e270332a2487afbab3664f33d6618837417e979c SHA512 a7e12ee2470eae3f76540115dfb7817c3ce6142e2ac23bbd42150c32d9b615e889d3c52122b253fa9e56408c99ae5415b4987b6d8b97ff52090f676a2087b2f5 -EBUILD commons-compress-1.27.1.ebuild 1994 BLAKE2B 9cce45dbfe44a0145bff2308d5908ddc76874249d5eef40c5b6633aab2fb43c44eb2dc66cee5c5b477ea024703b246fcd277607604c9583f7af237a337749e26 SHA512 99ca648a9aac0e285b4243091e4c453c89e52eb6378875473f7390f04833d1d97bb3a787963fadf6dfb6f1751893f8a343c9b020ee879e34edd1340bc21235a4 +EBUILD commons-compress-1.27.1-r1.ebuild 2003 BLAKE2B 8c9dcff2a839b5113b33a55065d4b017c1035541494ba004cf694beb34c18a708c2e79edce670df186647c3645755e9d6923a348e2c3584b1393c7821d0826d4 SHA512 2d5eb75e608a3d317cea5f626407ead5d572a3c12a8b6dfc88d02c673a6c46fd54e9f1a78e2a1eb5cbd959e32b55e8bf8046a237b466bf1be625a701457ee8e0 MISC metadata.xml 325 BLAKE2B 9edddb431124415fe343c5fcfbef16627943a28d12f4bba89559a577e1a2b2eed63a866521f47c504c102c1f5f01cd014c6e453940347ae0bd8e3ebfc5cae68f SHA512 54562f74ac55704a1f09b8dc4d78c5620ba61197e71350d770bddbeafe53c2faaad6d900d284cc265be555d378022b228c6a14b0606f540e2faa16b3df27e939 diff --git a/dev-java/commons-compress/commons-compress-1.27.1-r1.ebuild b/dev-java/commons-compress/commons-compress-1.27.1-r1.ebuild new file mode 100644 index 000000000000..6b0b852f953f --- /dev/null +++ b/dev-java/commons-compress/commons-compress-1.27.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Not ready for running tests, https://bugs.gentoo.org/839681 +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.commons:commons-compress:${PV}" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Java API for working with archive files" +HOMEPAGE="https://commons.apache.org/proper/commons-compress/" +SRC_URI="mirror://apache/commons/compress/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/compress/source/${P}-src.tar.gz.asc )" +S="${WORKDIR}/${P}-src" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 ppc64" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +CP_DEPEND=" + dev-java/asm:9 + dev-java/brotli-dec:0 + dev-java/commons-codec:0 + >=dev-java/commons-io-2.17.0:1 + >=dev-java/commons-lang-3.17.0:3.6 + dev-java/xz-java:0 + dev-java/zstd-jni:0 +" +DEPEND="${CP_DEPEND} + >=virtual/jdk-11:* + dev-java/osgi-core:0" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_CLASSPATH_EXTRA="osgi-core" +JAVA_ENCODING="iso-8859-1" # unmappable character for utf-8 +JAVA_MAIN_CLASS="org.apache.commons.compress.archivers.Lister" +JAVA_SRC_DIR="src/main/java" + +src_compile() { + # getting dependencies into the modulepath + DEPENDENCIES=( + asm-9 + brotli-dec + commons-codec + commons-io-1 + commons-lang-3.6 + xz-java + zstd-jni + ) + local modulepath + for dependency in ${DEPENDENCIES[@]}; do + modulepath="${modulepath}:$(java-pkg_getjars --build-only ${dependency})" + done + + JAVA_JAR_FILENAME="org.apache.${PN}.jar" + java-pkg-simple_src_compile # creates a legacy jar file without module-info + + # generate module-info.java + jdeps \ + --module-path "${modulepath}" \ + --generate-module-info \ + src/main/java \ + --multi-release 9 \ + "${JAVA_JAR_FILENAME}" || die + + JAVA_JAR_FILENAME="${PN}.jar" + java-pkg-simple_src_compile # creates the final jar file including module-info +} diff --git a/dev-java/commons-compress/commons-compress-1.27.1.ebuild b/dev-java/commons-compress/commons-compress-1.27.1.ebuild deleted file mode 100644 index daf5a74c26c4..000000000000 --- a/dev-java/commons-compress/commons-compress-1.27.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Not ready for running tests, https://bugs.gentoo.org/839681 -JAVA_PKG_IUSE="doc source" -MAVEN_ID="org.apache.commons:commons-compress:${PV}" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Java API for working with archive files" -HOMEPAGE="https://commons.apache.org/proper/commons-compress/" -SRC_URI="mirror://apache/commons/compress/source/${P}-src.tar.gz - verify-sig? ( https://downloads.apache.org/commons/compress/source/${P}-src.tar.gz.asc )" -S="${WORKDIR}/${P}-src" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" -CP_DEPEND=" - dev-java/asm:9 - dev-java/brotli-dec:0 - dev-java/commons-codec:0 - >=dev-java/commons-io-2.17.0:1 - dev-java/commons-lang:3.6 - dev-java/xz-java:0 - dev-java/zstd-jni:0 -" -DEPEND="${CP_DEPEND} - >=virtual/jdk-11:* - dev-java/osgi-core:0" -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -JAVA_CLASSPATH_EXTRA="osgi-core" -JAVA_ENCODING="iso-8859-1" # unmappable character for utf-8 -JAVA_MAIN_CLASS="org.apache.commons.compress.archivers.Lister" -JAVA_SRC_DIR="src/main/java" - -src_compile() { - # getting dependencies into the modulepath - DEPENDENCIES=( - asm-9 - brotli-dec - commons-codec - commons-io-1 - commons-lang-3.6 - xz-java - zstd-jni - ) - local modulepath - for dependency in ${DEPENDENCIES[@]}; do - modulepath="${modulepath}:$(java-pkg_getjars --build-only ${dependency})" - done - - JAVA_JAR_FILENAME="org.apache.${PN}.jar" - java-pkg-simple_src_compile # creates a legacy jar file without module-info - - # generate module-info.java - jdeps \ - --module-path "${modulepath}" \ - --generate-module-info \ - src/main/java \ - --multi-release 9 \ - "${JAVA_JAR_FILENAME}" || die - - JAVA_JAR_FILENAME="${PN}.jar" - java-pkg-simple_src_compile # creates the final jar file including module-info -} -- cgit v1.2.3