summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-18 14:05:39 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-18 19:36:51 +0000
commit26634ca043270222021b1153cb4b4b3c188cf8eb (patch)
tree6f145cbacb3df5a28431d6b909dccce8307cd8f0 /dev-java/jcommander
parentmail-mta/exim: require openssl[-bindist], bug #556654 (diff)
downloadgentoo-26634ca043270222021b1153cb4b4b3c188cf8eb.tar.gz
gentoo-26634ca043270222021b1153cb4b4b3c188cf8eb.tar.bz2
gentoo-26634ca043270222021b1153cb4b4b3c188cf8eb.zip
dev-java/jcommander: Stable for amd64+x86. Switch to java-pkg-simple.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java/jcommander')
-rw-r--r--dev-java/jcommander/jcommander-1.48.ebuild18
1 files changed, 5 insertions, 13 deletions
diff --git a/dev-java/jcommander/jcommander-1.48.ebuild b/dev-java/jcommander/jcommander-1.48.ebuild
index c87bd7692bb7..96a5bab5fea1 100644
--- a/dev-java/jcommander/jcommander-1.48.ebuild
+++ b/dev-java/jcommander/jcommander-1.48.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -6,7 +6,7 @@ EAPI="5"
JAVA_PKG_IUSE="doc source"
-inherit java-pkg-2 java-ant-2
+inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Command line parsing framework for Java"
HOMEPAGE="https://github.com/cbeust/jcommander"
@@ -14,23 +14,15 @@ SRC_URI="https://github.com/cbeust/${PN}/archive/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}/${PN}-${P}"
-JAVA_ANT_REWRITE_CLASSPATH="yes"
+RESTRICT="test"
java_prepare() {
- cp "${FILESDIR}"/${P}-build.xml build.xml || die
-}
-
-src_install() {
- java-pkg_newjar target/${P}.jar
-
- dodoc README.markdown CHANGELOG
- use doc && java-pkg_dojavadoc target/site/apidocs
- use source && java-pkg_dosrc src/main/java
+ rm -rf src/test || die
}