public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-collections/
Date: Sun, 24 Jul 2022 17:00:28 +0000 (UTC)	[thread overview]
Message-ID: <1658681500.846d994a284683d676011df7dd3bf19d53f3456a.flow@gentoo> (raw)

commit:     846d994a284683d676011df7dd3bf19d53f3456a
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Jul 11 14:55:44 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 16:51:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846d994a

dev-java/commons-collections: add missing Automatic-Module-Name

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../commons-collections-4.4-r1.ebuild              | 68 ++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/dev-java/commons-collections/commons-collections-4.4-r1.ebuild b/dev-java/commons-collections/commons-collections-4.4-r1.ebuild
new file mode 100644
index 000000000000..c55d0bb19796
--- /dev/null
+++ b/dev-java/commons-collections/commons-collections-4.4-r1.ebuild
@@ -0,0 +1,68 @@
+# 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 ~arm ~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"
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.collections4"
+
+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
+}


             reply	other threads:[~2022-07-24 17:00 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 17:00 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01 12:16 [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-collections/ Miroslav Šulc
2024-01-03  8:34 Miroslav Šulc
2024-01-02  9:22 Sam James
2024-01-02  8:21 Sam James
2024-01-02  8:17 Sam James
2024-01-02  8:17 Sam James
2023-12-03  9:05 Miroslav Šulc
2023-12-03  9:05 Miroslav Šulc
2023-12-03  9:05 Miroslav Šulc
2023-12-03  9:05 Miroslav Šulc
2023-02-22  7:36 Miroslav Šulc
2022-08-23 18:53 Arthur Zamarin
2022-08-23 18:26 Sam James
2022-08-23 18:26 Sam James
2022-08-23 16:32 Arthur Zamarin
2022-08-23 16:32 Arthur Zamarin
2022-02-11 20:05 Arthur Zamarin
2022-02-06  8:51 Miroslav Šulc
2022-02-05 18:17 Arthur Zamarin
2022-02-05  8:08 Agostino Sarubbo
2022-02-04  9:29 Jakov Smolić
2022-02-04  9:29 Jakov Smolić
2022-01-07 20:42 Arthur Zamarin
2022-01-07 20:40 Arthur Zamarin
2022-01-07 20:40 Arthur Zamarin
2022-01-05 16:32 Florian Schmaus
2021-07-23  5:31 Miroslav Šulc
2021-05-16 18:58 Sam James
2021-04-27 10:21 Miroslav Šulc
2021-04-26 19:11 Sam James
2021-04-25  5:19 Sam James
2021-04-21 18:53 Sam James
2021-04-19 17:57 Miroslav Šulc
2021-04-19 10:57 Miroslav Šulc
2021-04-04 21:49 Patrice Clement
2021-04-04 21:49 Patrice Clement
2018-03-01  8:39 Michał Górny
2018-01-12 20:30 Patrice Clement
2018-01-12 20:30 Patrice Clement
2018-01-12 20:30 Patrice Clement
2016-11-24 22:04 James Le Cuirot
2015-08-21  9:42 Patrice Clement
2015-08-21  7:35 Agostino Sarubbo
2015-08-21  7:35 Agostino Sarubbo
2015-08-16  8:25 Agostino Sarubbo
2015-08-16  8:25 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1658681500.846d994a284683d676011df7dd3bf19d53f3456a.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox