summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-12-31 02:37:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-12-31 02:37:45 +0000
commitbbad89cf3a4283016b884c3c4a3dd4f3f3e2bb13 (patch)
treebe20916f0781298882b30c828ed1604cec130753 /dev-java
parentRe-add still needed cxxflags patch. (diff)
downloadgentoo-2-bbad89cf3a4283016b884c3c4a3dd4f3f3e2bb13.tar.gz
gentoo-2-bbad89cf3a4283016b884c3c4a3dd4f3f3e2bb13.tar.bz2
gentoo-2-bbad89cf3a4283016b884c3c4a3dd4f3f3e2bb13.zip
Version bump.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jcommander/ChangeLog7
-rw-r--r--dev-java/jcommander/jcommander-1.30.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/jcommander/ChangeLog b/dev-java/jcommander/ChangeLog
index 5c8c1b35a05b..51c5c8a4532c 100644
--- a/dev-java/jcommander/ChangeLog
+++ b/dev-java/jcommander/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jcommander
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommander/ChangeLog,v 1.1 2012/08/10 23:32:31 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommander/ChangeLog,v 1.2 2012/12/31 02:37:45 flameeyes Exp $
+
+*jcommander-1.30 (31 Dec 2012)
+
+ 31 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +jcommander-1.30.ebuild:
+ Version bump.
*jcommander-1.29 (10 Aug 2012)
diff --git a/dev-java/jcommander/jcommander-1.30.ebuild b/dev-java/jcommander/jcommander-1.30.ebuild
new file mode 100644
index 000000000000..24c34828a4b8
--- /dev/null
+++ b/dev-java/jcommander/jcommander-1.30.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommander/jcommander-1.30.ebuild,v 1.1 2012/12/31 02:37:45 flameeyes Exp $
+
+EAPI=4
+
+inherit eutils java-pkg-2 java-pkg-simple
+
+GITHUB_USER="cbeust"
+
+DESCRIPTION="Command line parsing framework for Java"
+HOMEPAGE="https://github.com/cbeust/jcommander"
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${P} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# test? ( dev-java/testng )
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6"
+
+JAVA_SRC_DIR="src/main"
+
+S="${WORKDIR}"/${P}
+
+# until testng is in main tree
+RESTRICT=test
+
+src_unpack() {
+ unpack ${A}
+ mv ${GITHUB_USER}-${PN}-* ${P} || die
+ rm "${P}"/pom.xml || die
+}
+
+src_test() {
+ JAVA_SRC_DIR="src/test" \
+ JAVA_CLASSPATH_EXTRA="${PN}.jar" \
+ PN="${PN}-test" \
+ java-pkg-simple_src_compile
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc README.markdown CHANGELOG
+}