commit:     e23f01ea6f8da41e6f6800331460bdf13be7cfd0
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon May 23 12:29:51 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 30 08:36:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23f01ea

dev-java/jopt-simple: add 5.0.4

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25616
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/jopt-simple/Manifest                 |  1 +
 dev-java/jopt-simple/jopt-simple-5.0.4.ebuild | 30 +++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-java/jopt-simple/Manifest b/dev-java/jopt-simple/Manifest
index 5e45f7495c78..e5d7be055edf 100644
--- a/dev-java/jopt-simple/Manifest
+++ b/dev-java/jopt-simple/Manifest
@@ -1,2 +1,3 @@
 DIST jopt-simple-4.6.tar.gz 107082 BLAKE2B 
622144647b24049861398cc99ca3cc268baae045f8ca23cdd5bddb2e656bc97d17397ae752ca9a6edc91b8486e1e55ce19ba335d2afadf6c6df4f858faf43a1e
 SHA512 
c2f467521f6419f91206f6036d420671b02106beadff3fc51d1893e6f3f6302b8fcbb31957327b9e40cbfd7a7d55030e0c999d9570d7e29fe7a4375bab10ed76
+DIST jopt-simple-5.0.4.tar.gz 120388 BLAKE2B 
b9eec360f9399a40fa8fe33f14708c14a45689eb78efcdf99f27d666168d67f2670b4aa5bd6e7f26ddff72565107f1359214c808281918947d66874bde237b86
 SHA512 
ae4274bb4b3e2584dc6fb4370c4d63f9b95e63ff2cd124f92f8ad6e3a4a3dd91cd9e9b70ac423a560d52039508549a5319bb23035215b4a191c4fdc0f0e082d5
 DIST jopt-simple-5.0.tar.gz 119502 BLAKE2B 
975a0d338fa3154963954fd3b218c944dded023b3a2da59ee2671c73450a578dbf1aee8e52b9f715839e15c1937e0a493c4b37518b73038aa017e1d0ec1ca06a
 SHA512 
f440c62cb307aad7cab64f091c82f78e11a117e60aaadf71883c149a622576531272de3d67859f6df093df658bb0bfb435d9bb33bc729bcda24dcc99d27369ff

diff --git a/dev-java/jopt-simple/jopt-simple-5.0.4.ebuild 
b/dev-java/jopt-simple/jopt-simple-5.0.4.ebuild
new file mode 100644
index 000000000000..f6331ef9f35c
--- /dev/null
+++ b/dev-java/jopt-simple/jopt-simple-5.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A Java library for parsing command line options"
+HOMEPAGE="https://jopt-simple.github.io/jopt-simple/";
+SRC_URI="https://github.com/jopt-simple/jopt-simple/archive/jopt-simple-${PV}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+S="${WORKDIR}/${PN}-${P}"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="src/main/resources"
+
+src_install() {
+       einstalldocs
+       java-pkg-simple_src_install
+}

Reply via email to