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: Fri, 12 Jan 2018 20:30:38 +0000 (UTC)	[thread overview]
Message-ID: <1515789028.cd02a9248d1977ec43940e0d7813c2cd449d0c0f.monsieurp@gentoo> (raw)

commit:     cd02a9248d1977ec43940e0d7813c2cd449d0c0f
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 20:25:56 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 20:30:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd02a924

dev-java/commons-collections: fix tests.

EAPI 6 bumped the ebuild whilst at it.

Closes: https://bugs.gentoo.org/644154
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../commons-collections-3.2.1-r2.ebuild            | 63 ++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/dev-java/commons-collections/commons-collections-3.2.1-r2.ebuild b/dev-java/commons-collections/commons-collections-3.2.1-r2.ebuild
new file mode 100644
index 00000000000..9c732bfc538
--- /dev/null
+++ b/dev-java/commons-collections/commons-collections-3.2.1-r2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source test"
+
+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 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+DEPEND="
+	test? (
+		dev-java/junit:0
+		dev-java/ant-junit:0
+	)
+	>=virtual/jdk-1.6"
+
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${P}-src"
+
+PATCHES=( "${FILESDIR}/${P}-Java-8.patch" )
+
+src_prepare() {
+	default
+}
+
+src_compile() {
+	local antflags
+	if use test; then
+		antflags="tf.jar -Djunit.jar=$(java-pkg_getjars 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/*
+}


             reply	other threads:[~2018-01-12 20:30 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-12 20:30 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
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
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=1515789028.cd02a9248d1977ec43940e0d7813c2cd449d0c0f.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