From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B0D2158086 for ; Wed, 5 Jan 2022 16:32:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DCBC2BC030; Wed, 5 Jan 2022 16:32:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 242142BC030 for ; Wed, 5 Jan 2022 16:32:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A76C3432BC for ; Wed, 5 Jan 2022 16:32:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A385726D for ; Wed, 5 Jan 2022 16:32:40 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1641400341.33429181735be07d059eba9e83bdd729c6c41452.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-collections/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/commons-collections/Manifest dev-java/commons-collections/commons-collections-4.4.ebuild dev-java/commons-collections/metadata.xml X-VCS-Directories: dev-java/commons-collections/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 33429181735be07d059eba9e83bdd729c6c41452 X-VCS-Branch: master Date: Wed, 5 Jan 2022 16:32:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: edb12a36-7ace-4400-b758-ae7c1b9d4921 X-Archives-Hash: df9fa74cd03397ab69aa331ee349e26a commit: 33429181735be07d059eba9e83bdd729c6c41452 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Jan 5 15:31:16 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Jan 5 16:32:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33429181 dev-java/commons-collections: bump to 4.4 Bug: https://bugs.gentoo.org/830639 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23659 Signed-off-by: Florian Schmaus gentoo.org> dev-java/commons-collections/Manifest | 1 + .../commons-collections-4.4.ebuild | 67 ++++++++++++++++++++++ dev-java/commons-collections/metadata.xml | 11 ++-- 3 files changed, 75 insertions(+), 4 deletions(-) diff --git a/dev-java/commons-collections/Manifest b/dev-java/commons-collections/Manifest index 02508b4a856d..466c5b01284b 100644 --- a/dev-java/commons-collections/Manifest +++ b/dev-java/commons-collections/Manifest @@ -1,2 +1,3 @@ DIST commons-collections-3.2.2-src.tar.gz 630693 BLAKE2B a70cebe9526291d5207db7edd7c9b50060413880d41dcb28c01cf05f7e00a9f5e1560012c3c3c763162412282db9512bc2b64a5788f210c5c8866943d912dafb SHA512 2e8ef638f07515b028a3e7e97851fcf1d9023a2c188e211bd1e936f35d3d91c2885adf3b1103ad17dfb7aeea6e7a67ce7826ee346a8a29c1aa7c6b0cf14e9230 +DIST commons-collections-4.4-src.tar.gz 703008 BLAKE2B f4a0e858eb7412bdd431894f923a4731685ceb2463bee002401d8048cc40534f002ec0291aa67297e061a50b624d3de8f64e227f513ab1f3620e38d1d6858255 SHA512 2110e73eda97ca52a886cb708f21d8609a83655861594f3b6eb7a15b777d42eeeefc5d3b28ffc6ecc5e4f0b3fd5407f80019c2ce006f970f55455ef33eee47ee DIST commons-collections4-4.1-src.tar.gz 704671 BLAKE2B dea1b630168373013ca937c9b02414b92845fdd9ddf7a22a05c4d7f8d30ff26d73f3a2d399d7a4c026f8ec43a282120fdf3d3cb1042a311c3b490ffed1774e30 SHA512 c5666f41b68c9fdba3731730595616b16f98579c077cf047f421a46729b5a65476a8707125a2c0b0c6c024ca94df8c2633123bd99e705149fcb1afadcd3bf68b diff --git a/dev-java/commons-collections/commons-collections-4.4.ebuild b/dev-java/commons-collections/commons-collections-4.4.ebuild new file mode 100644 index 000000000000..3c12d8f477e8 --- /dev/null +++ b/dev-java/commons-collections/commons-collections-4.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 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/collections/source/commons-collections4-4.4-src.tar.gz --slot 4 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild commons-collections-4.4.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.commons:commons-collections4:4.4" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Extends the JCF classes with new interfaces, implementations and utilities" +HOMEPAGE="https://commons.apache.org/proper/commons-collections/" +SRC_URI="mirror://apache/commons/collections/source/${PN}4-${PV}-src.tar.gz -> ${P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="4" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# Compile dependencies +# POM: pom.xml +# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 +# test? org.apache.commons:commons-lang3:3.9 -> >=dev-java/commons-lang-3.12.0:3.6 +# test? org.easymock:easymock:4.0.2 -> !!!suitable-mavenVersion-not-found!!! + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/easymock:3.2 + dev-java/commons-lang:3.6 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +DOCS=( {CONTRIBUTING,README}.md {LICENSE,NOTICE,RELEASE-NOTES}.txt ) +HTML_DOCS=( {DEVELOPERS-GUIDE,PROPOSAL}.html ) + +S="${WORKDIR}/commons-collections4-${PV}-src" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,commons-lang-3.6,easymock-3.2" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +src_test() { + # https://github.com/apache/commons-collections/blob/cab58b3a8093a2f6b84f12783a3fb358747310f7/pom.xml#L542-L550 + pushd src/test/java || die + local TESTS=$(find * -name "*Test.java" ! -name "TestUtils.java" ! -name "Abstract*.java" ! -name "BulkTest.java") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + popd + + JAVA_TEST_RUN_ONLY=( "${TESTS}" ) + java-pkg-simple_src_test +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/commons-collections/metadata.xml b/dev-java/commons-collections/metadata.xml index 6ef2d50cf07e..62a57c23950f 100644 --- a/dev-java/commons-collections/metadata.xml +++ b/dev-java/commons-collections/metadata.xml @@ -1,8 +1,11 @@ - - java@gentoo.org - Java - + + java@gentoo.org + Java + + + The Apache Commons Collections package contains types that extend and augment the Java Collections Framework. +