commit: 1e76dc4cdbe3398fa5abb282e9e838c733a1d723 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Mon May 2 10:38:11 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Thu May 5 08:54:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e76dc4c
dev-java/jopt-simple: add JAVA_RESOURCE_DIRS Absence of resources causing test failures in jmh-core-1.35 update EAPI 6 -> 8 update SRC_URI update HOMEPAGE Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-java/jopt-simple/jopt-simple-5.0-r1.ebuild | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dev-java/jopt-simple/jopt-simple-5.0-r1.ebuild b/dev-java/jopt-simple/jopt-simple-5.0-r1.ebuild new file mode 100644 index 000000000000..7f09eeaea934 --- /dev/null +++ b/dev-java/jopt-simple/jopt-simple-5.0-r1.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 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +S="${WORKDIR}/${PN}-${PN}-01719a6" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +src_install() { + einstalldocs + java-pkg-simple_src_install +}
