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 4F9EA1396D0 for ; Fri, 1 Sep 2017 20:13:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEBFEE0BE0; Fri, 1 Sep 2017 20:13:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D0F4E0BE0 for ; Fri, 1 Sep 2017 20:13:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7598434105A for ; Fri, 1 Sep 2017 20:13:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D8168A90 for ; Fri, 1 Sep 2017 20:13:16 +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: <1504296787.2a6b0dac722100658387d137d17c1c79a10749ef.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/commons-cli/Manifest dev-java/commons-cli/commons-cli-1.4.ebuild X-VCS-Directories: dev-java/commons-cli/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 2a6b0dac722100658387d137d17c1c79a10749ef X-VCS-Branch: master Date: Fri, 1 Sep 2017 20:13:16 +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: af8ab98a-80be-4bf4-918d-4120af93a94e X-Archives-Hash: 9a33b12aab45387ec47de3e2bccadb39 commit: 2a6b0dac722100658387d137d17c1c79a10749ef Author: James Le Cuirot gentoo org> AuthorDate: Fri Sep 1 20:09:54 2017 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Sep 1 20:13:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a6b0dac dev-java/commons-cli: Version bump to 1.4 Package-Manager: Portage-2.3.8, Repoman-2.3.2 dev-java/commons-cli/Manifest | 1 + dev-java/commons-cli/commons-cli-1.4.ebuild | 41 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-java/commons-cli/Manifest b/dev-java/commons-cli/Manifest index f6e0cc9d2a4..d96806ec1fc 100644 --- a/dev-java/commons-cli/Manifest +++ b/dev-java/commons-cli/Manifest @@ -1 +1,2 @@ DIST commons-cli-1.3.1-src.tar.gz 145886 SHA256 d4f7eedf6def7cd574ff9b0050a5a7203a702ed13c88d9fbb85b84284ab172ba SHA512 b5c569bea3c213a1959ae698894f2234477a7a5ed246f8e81142041173f668802959be018011bce6aa2a5631081378e67d69eeba9136fa19c96193dbdf2a7d15 WHIRLPOOL 2e589f5644c5d7cead5bb88364cd982a717b7eab33c50c9ff0dc14d562d5eb92e6f76f7e80c2b356d08cf1e80b6943d81d7f98f554b4de54fc394916c9e4c56e +DIST commons-cli-1.4-src.tar.gz 148530 SHA256 a1def8d94e4fe6be4ffde100a74a647fe3df5ba02f85e3c9191fbb00be880f16 SHA512 a5db856f6154e4340aab1865e3b34c752c0dceb8063faa64740ed470d8e6b3e7782242ae51d6bb57a535a6d6dad2943cc3130d7202223b8f89b8cbecdc3d9d4f WHIRLPOOL 55ea385ee8f861e248022175a66a93efb65608b26b5beb51fd3c5cc68767c10d87bea4bf63b2f0fc3d79172ddcc8cb3c72033d826834ce24081534520bbafb10 diff --git a/dev-java/commons-cli/commons-cli-1.4.ebuild b/dev-java/commons-cli/commons-cli-1.4.ebuild new file mode 100644 index 00000000000..e047a4e6822 --- /dev/null +++ b/dev-java/commons-cli/commons-cli-1.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A Java library for working with the command line arguments and options" +HOMEPAGE="http://commons.apache.org/cli/" +SRC_URI="mirror://apache/commons/cli/source/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="test" + +RDEPEND=">=virtual/jre-1.7" + +DEPEND=">=virtual/jdk-1.7 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${P}-src" +JAVA_SRC_DIR="src/main/java" + +src_install() { + java-pkg-simple_src_install + dodoc CONTRIBUTING.md NOTICE.txt README.md RELEASE-NOTES.txt +} + +src_test() { + cd src/test/java || die + + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars junit-4)" + local TESTS=$(find * -name "*Test.java") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d . $(find * -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +}