public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-collections/
Date: Sun,  4 Apr 2021 21:49:40 +0000 (UTC)	[thread overview]
Message-ID: <1617572970.7ef47ba2da5f2e99b3f4ced0266342338a6d8fd3.monsieurp@gentoo> (raw)

commit:     7ef47ba2da5f2e99b3f4ced0266342338a6d8fd3
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 20:05:42 2021 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 21:49:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef47ba2

dev-java/commons-collections: 4.1 -> EAPI 7 bump.

Closes: https://bugs.gentoo.org/779490
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

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

diff --git a/dev-java/commons-collections/commons-collections-4.1-r1.ebuild b/dev-java/commons-collections/commons-collections-4.1-r1.ebuild
new file mode 100644
index 00000000000..b2156aa863c
--- /dev/null
+++ b/dev-java/commons-collections/commons-collections-4.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+SLOT="4"
+MY_P="${PN}${SLOT}-${PV}"
+
+DESCRIPTION="Extends the JCF classes with new interfaces, implementations and utilities"
+HOMEPAGE="https://commons.apache.org/collections/"
+SRC_URI="mirror://apache/${PN/-//}/source/${MY_P}-src.tar.gz"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~ppc64 x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	>=virtual/jdk-1.8
+	test? (
+		dev-java/easymock:3.2
+		dev-java/junit:4
+	)"
+
+RDEPEND="
+	>=virtual/jre-1.8"
+
+S="${WORKDIR}/${MY_P}-src"
+
+JAVA_SRC_DIR="src/main/java"
+
+src_install() {
+	java-pkg-simple_src_install
+	dodoc RELEASE-NOTES.txt
+	docinto html
+	dodoc {DEVELOPERS-GUIDE,PROPOSAL}.html
+}
+
+src_test() {
+	local DIR=src/test/java
+	local CP="${DIR}:${DIR}/../resources:${PN}.jar:$(java-pkg_getjars easymock-3.2,junit-4)"
+	local TESTS=$(find ${DIR} -name "*Test.java" ! -name "Abstract*" ! -name "BulkTest.*")
+	TESTS="${TESTS//src\/test\/java\/}"
+	TESTS="${TESTS//.java}"
+	TESTS="${TESTS//\//.}"
+
+	ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
+	ejunit4 -classpath "${CP}" ${TESTS}
+}


             reply	other threads:[~2021-04-04 21:49 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 21:49 Patrice Clement [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-07-24 17:00 Florian Schmaus
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
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=1617572970.7ef47ba2da5f2e99b3f4ced0266342338a6d8fd3.monsieurp@gentoo \
    --to=monsieurp@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