From aae71b4d8e684ca22d28ef0f1da0989e7bf6468d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Feb 2023 14:28:15 +0000 Subject: gentoo auto-resync : 22:02:2023 - 14:28:15 --- dev-java/commons-collections/Manifest | 3 +- .../commons-collections-3.2.2-r1.ebuild | 70 ++++++++++++++++++++++ .../commons-collections-3.2.2.ebuild | 67 --------------------- 3 files changed, 72 insertions(+), 68 deletions(-) create mode 100644 dev-java/commons-collections/commons-collections-3.2.2-r1.ebuild delete mode 100644 dev-java/commons-collections/commons-collections-3.2.2.ebuild (limited to 'dev-java/commons-collections') diff --git a/dev-java/commons-collections/Manifest b/dev-java/commons-collections/Manifest index 28be0e3bffd2..6b6d6f023e45 100644 --- a/dev-java/commons-collections/Manifest +++ b/dev-java/commons-collections/Manifest @@ -1,6 +1,7 @@ AUX commons-collections-3.2.2-fixes.patch 9913 BLAKE2B 0582b3c2e06275ddc75fdaf051ef5fec6cb6c95b3ffae77b08bd093e3b3e7a140e040c20a9be24e06d03a492325db94c21e69a4ae9fcb4e8099ee7bc30059b70 SHA512 88850bd1db483348d5c35c593e79f38de46f362aa124dea91e47940b9eeadef7d9ae9e7d34978d55bc4e51091c34ae862b33ca4710c71ffdc92840c2429b05f1 DIST commons-collections-3.2.2-src.tar.gz 630693 BLAKE2B a70cebe9526291d5207db7edd7c9b50060413880d41dcb28c01cf05f7e00a9f5e1560012c3c3c763162412282db9512bc2b64a5788f210c5c8866943d912dafb SHA512 2e8ef638f07515b028a3e7e97851fcf1d9023a2c188e211bd1e936f35d3d91c2885adf3b1103ad17dfb7aeea6e7a67ce7826ee346a8a29c1aa7c6b0cf14e9230 +DIST commons-collections-3.2.2-src.tar.gz.asc 819 BLAKE2B a7d170b03613cddddc284908d95287fc092c01b125c5adffebfc493daf9119e0c9d82fdc7d8ce1865ef45a1e015072f5a09181abcba5b17c9c48d7c6333279da SHA512 c5d33518ed5343b38c10e317f677266858bd9614eff7fdc13a2e0131fe71836c3694f49898843e6978496d7dd2f976b82922230a44cde1eac5f6cdfdb822dcd0 DIST commons-collections-4.4-src.tar.gz 703008 BLAKE2B f4a0e858eb7412bdd431894f923a4731685ceb2463bee002401d8048cc40534f002ec0291aa67297e061a50b624d3de8f64e227f513ab1f3620e38d1d6858255 SHA512 2110e73eda97ca52a886cb708f21d8609a83655861594f3b6eb7a15b777d42eeeefc5d3b28ffc6ecc5e4f0b3fd5407f80019c2ce006f970f55455ef33eee47ee -EBUILD commons-collections-3.2.2.ebuild 1389 BLAKE2B 1190300af0c8b7dfca7edb662a7c9314111a95ab56de0eaaa93fd0f26e21475181befd7fc41dc3b064c41e85c17ab95562afa6170ab53c4e288903caaaedf2f0 SHA512 a1881fd133e1efba964a2fd3d60575fbe88da634b0e41d8ba3244e306ad63c54db5be60e284cfb0ff34a72067bbe73a11ed2aaab60468896afc9c10172559196 +EBUILD commons-collections-3.2.2-r1.ebuild 1688 BLAKE2B 8abbc367f82828a167ada38b6a91d7728b007da7143d96d2c0639b62a462583a6482f02bdfda88064440b2b1690efccda03e52bb8741ac95c3067e23a16b2ece SHA512 4879bde4fb04bbd755e43b3193be27be15185de7ef7b38c4269bd6c79031b98900f1029ffa9442922fb6ff35a7d192286eeb04fa8ce3486f6a5e6ffae77ebd22 EBUILD commons-collections-4.4-r1.ebuild 2124 BLAKE2B 41cc425a652be762750ed3ac35c443d63ed985d11bca139d597f8331efbd023b81c21538da33349ddecaf63de3b9d08e4b27d478eee7254e55f300090b282ba9 SHA512 db49866e4991a9ffa8857ca6caebcfc2ffdb8c86b8da1978cf6ef54d632e28ca58b5c4a338dc1963485fd1e2f4301bfe2bac0ba558013c2914e9bdcdf2d1dcc3 MISC metadata.xml 388 BLAKE2B 11018df0e1c7417ebbc68b44642701ad88c8add20c233cceafb84c41b56cd7e3d2f0004406ba6286babd78493dda13171c1c3b0a1a7b563289d2c4c58921bda6 SHA512 28a72920d0c97f0caae41ba74a55602e25c953d2c510e0e4d72a8c7482abe7855b587fa85efbc51c9262472b90ae35a88732d33744a101d288ec8afa8fff4ae2 diff --git a/dev-java/commons-collections/commons-collections-3.2.2-r1.ebuild b/dev-java/commons-collections/commons-collections-3.2.2-r1.ebuild new file mode 100644 index 000000000000..843a9c53c215 --- /dev/null +++ b/dev-java/commons-collections/commons-collections-3.2.2-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="commons-collections:commons-collections:3.2.2" + +inherit java-pkg-2 java-ant-2 verify-sig + +DESCRIPTION="Jakarta-Commons Collections Component" +HOMEPAGE="https://commons.apache.org/collections/" +SRC_URI="https://archive.apache.org/dist/commons/collections/source/commons-collections-${PV}-src.tar.gz + verify-sig? ( https://archive.apache.org/dist/commons/collections/source/commons-collections-${PV}-src.tar.gz.asc )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos" +RESTRICT="!test? ( test )" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +RDEPEND=">=virtual/jre-1.8:*" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/commons.apache.org.asc" + +S="${WORKDIR}/${P}-src" + +PATCHES=( + "${FILESDIR}/${P}-fixes.patch" +) + +src_prepare() { + default +} + +src_compile() { + local antflags + if use test; then + antflags="tf.jar -Djunit.jar=$(java-pkg_getjars --build-only junit)" + fi + eant jar $(use_doc) ${antflags} +} + +src_test() { + if [[ "${ARCH}" = "ppc" ]]; then + einfo "tests are disabled on ppc" + else + ANT_TASKS="ant-junit" eant testjar -Djunit.jar="$(java-pkg_getjars junit)" + fi +} + +src_install() { + java-pkg_newjar build/${P}.jar ${PN}.jar + use test && \ + java-pkg_newjar build/${PN}-testframework-${PV}.jar \ + ${PN}-testframework.jar + + java-pkg_dohtml *.html + if use doc; then + java-pkg_dojavadoc build/docs/apidocs + fi + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/commons-collections/commons-collections-3.2.2.ebuild b/dev-java/commons-collections/commons-collections-3.2.2.ebuild deleted file mode 100644 index 3e6fe5ecf537..000000000000 --- a/dev-java/commons-collections/commons-collections-3.2.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="commons-collections:commons-collections:3.2.2" - -inherit java-pkg-2 java-ant-2 java-utils-2 - -DESCRIPTION="Jakarta-Commons Collections Component" -HOMEPAGE="https://commons.apache.org/collections/" -SRC_URI="mirror://apache/${PN/-//}/source/${P}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=" - >=virtual/jdk-1.8:* - test? ( - dev-java/junit:0 - dev-java/ant-junit:0 - )" - -RDEPEND=">=virtual/jre-1.8:*" - -S="${WORKDIR}/${P}-src" - -PATCHES=( - "${FILESDIR}/${P}-fixes.patch" -) - -src_prepare() { - default -} - -src_compile() { - local antflags - if use test; then - antflags="tf.jar -Djunit.jar=$(java-pkg_getjars --build-only junit)" - fi - eant jar $(use_doc) ${antflags} -} - -src_test() { - if [[ "${ARCH}" = "ppc" ]]; then - einfo "tests are disabled on ppc" - else - ANT_TASKS="ant-junit" eant testjar -Djunit.jar="$(java-pkg_getjars junit)" - fi -} - -src_install() { - java-pkg_newjar build/${P}.jar ${PN}.jar - use test && \ - java-pkg_newjar build/${PN}-testframework-${PV}.jar \ - ${PN}-testframework.jar - - java-pkg_dohtml *.html - if use doc; then - java-pkg_dojavadoc build/docs/apidocs - fi - use source && java-pkg_dosrc src/java/* -} -- cgit v1.2.3