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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21BDB1395E2 for ; Thu, 24 Nov 2016 22:04:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60B9EE0AF0; Thu, 24 Nov 2016 22:04:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34D0FE0AF0 for ; Thu, 24 Nov 2016 22:04:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 140DF340F98 for ; Thu, 24 Nov 2016 22:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7677D487 for ; Thu, 24 Nov 2016 22:04:30 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1480024618.97eb14e720de9e83a3b1040e101d5935c3e9802f.chewi@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.1.ebuild X-VCS-Directories: dev-java/commons-collections/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 97eb14e720de9e83a3b1040e101d5935c3e9802f X-VCS-Branch: master Date: Thu, 24 Nov 2016 22:04:30 +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-Archives-Salt: f8696559-7b33-4906-b46c-569833b7f0a5 X-Archives-Hash: b043d0d0330c8f43067de9dd494ac94e commit: 97eb14e720de9e83a3b1040e101d5935c3e9802f Author: James Le Cuirot gentoo org> AuthorDate: Thu Nov 24 21:56:58 2016 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Nov 24 21:56:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97eb14e7 dev-java/commons-collections: Version bump to 4.1 into new SLOT 4 Package-Manager: portage-2.3.2 dev-java/commons-collections/Manifest | 1 + .../commons-collections-4.1.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-java/commons-collections/Manifest b/dev-java/commons-collections/Manifest index 0eb13b0..8a4484d 100644 --- a/dev-java/commons-collections/Manifest +++ b/dev-java/commons-collections/Manifest @@ -1 +1,2 @@ DIST commons-collections-3.2.1-src.tar.gz 609930 SHA256 9a4a800cb7ecdaf3b6f608cd608682b88b506f1b1c4b727d15471ae3329fc63d SHA512 8b9b5344528b3b8a53142abd944ff6b89cc149a3fa0c1eadf3f2172509499af5820ba86859e47fe7f15f994f680fa3c577c21891540b64f41f826babe81a0fc0 WHIRLPOOL ec31406560a1156e8e8780e3cc1d5be2b614b26e8dc3c04a80ee758d4d42c353c2eaf6f5f41057d3f9735063cb81143005bd63d7b552b73f1e2acc5fa644766d +DIST commons-collections4-4.1-src.tar.gz 704671 SHA256 94839a0620a0fb1999aa94d490cd8d6919f79dc206be33b722f856ffde862ecf SHA512 c5666f41b68c9fdba3731730595616b16f98579c077cf047f421a46729b5a65476a8707125a2c0b0c6c024ca94df8c2633123bd99e705149fcb1afadcd3bf68b WHIRLPOOL 154bddba08d881303d888a6c195eceda7582677ac3cd0089d189b04b1d1673d9b7fa92e94c22298bc2ce3c12502ea731f51144ac22b7ff5ef9767c7bb2d816a0 diff --git a/dev-java/commons-collections/commons-collections-4.1.ebuild b/dev-java/commons-collections/commons-collections-4.1.ebuild new file mode 100644 index 00000000..7af7293 --- /dev/null +++ b/dev-java/commons-collections/commons-collections-4.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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="http://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" + +RDEPEND=">=virtual/jre-1.7" + +DEPEND=">=virtual/jdk-1.7 + test? ( + dev-java/easymock:3.2 + dev-java/junit:4 + )" + +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} +}