summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-08-05 17:02:00 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-08-05 17:04:15 +0200
commit08ba8294ca26eeff0e4f6ac3078639fef82369aa (patch)
tree96e88fa938b7e44385904ed9d3831eb78b67d735 /dev-java
parentx11-misc/tint2: version bump 16.6 (diff)
downloadgentoo-08ba8294ca26eeff0e4f6ac3078639fef82369aa.tar.gz
gentoo-08ba8294ca26eeff0e4f6ac3078639fef82369aa.tar.bz2
gentoo-08ba8294ca26eeff0e4f6ac3078639fef82369aa.zip
dev-java/jopt-simple: add back version 4.6 with a SLOT.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jopt-simple/Manifest1
-rw-r--r--dev-java/jopt-simple/jopt-simple-4.6.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-java/jopt-simple/Manifest b/dev-java/jopt-simple/Manifest
index bff29c0fedd4..5e45f7495c78 100644
--- a/dev-java/jopt-simple/Manifest
+++ b/dev-java/jopt-simple/Manifest
@@ -1 +1,2 @@
+DIST jopt-simple-4.6.tar.gz 107082 BLAKE2B 622144647b24049861398cc99ca3cc268baae045f8ca23cdd5bddb2e656bc97d17397ae752ca9a6edc91b8486e1e55ce19ba335d2afadf6c6df4f858faf43a1e SHA512 c2f467521f6419f91206f6036d420671b02106beadff3fc51d1893e6f3f6302b8fcbb31957327b9e40cbfd7a7d55030e0c999d9570d7e29fe7a4375bab10ed76
DIST jopt-simple-5.0.tar.gz 119502 BLAKE2B 975a0d338fa3154963954fd3b218c944dded023b3a2da59ee2671c73450a578dbf1aee8e52b9f715839e15c1937e0a493c4b37518b73038aa017e1d0ec1ca06a SHA512 f440c62cb307aad7cab64f091c82f78e11a117e60aaadf71883c149a622576531272de3d67859f6df093df658bb0bfb435d9bb33bc729bcda24dcc99d27369ff
diff --git a/dev-java/jopt-simple/jopt-simple-4.6.ebuild b/dev-java/jopt-simple/jopt-simple-4.6.ebuild
new file mode 100644
index 000000000000..496fbd46f1c0
--- /dev/null
+++ b/dev-java/jopt-simple/jopt-simple-4.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 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 parsing command line options"
+HOMEPAGE="https://pholser.github.com/jopt-simple/"
+SRC_URI="https://github.com/pholser/${PN}/tarball/${P} -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="4.6"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6"
+
+JAVA_SRC_DIR="src/main/java"
+
+S="${WORKDIR}/${PN}-${PN}-8808a39"
+
+src_prepare() {
+ default
+ rm -v pom.xml || die
+}
+
+src_install() {
+ default
+ java-pkg-simple_src_install
+}