diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-02-13 12:05:13 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-14 11:30:09 +0100 |
commit | 6d49567046dd7c81472f90d4d8f0ceb672dc55fb (patch) | |
tree | cf163235eefccd99190231c287ea2df12fc408b6 /dev-java/picocli/picocli-4.6.3-r1.ebuild | |
parent | dev-libs/libical: 3.0.14 version bump (diff) | |
download | gentoo-6d49567046dd7c81472f90d4d8f0ceb672dc55fb.tar.gz gentoo-6d49567046dd7c81472f90d4d8f0ceb672dc55fb.tar.bz2 gentoo-6d49567046dd7c81472f90d4d8f0ceb672dc55fb.zip |
dev-java/picocli: HOMEPAGE, SRC_URI, DOCS
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24176
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/picocli/picocli-4.6.3-r1.ebuild')
-rw-r--r-- | dev-java/picocli/picocli-4.6.3-r1.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/picocli/picocli-4.6.3-r1.ebuild b/dev-java/picocli/picocli-4.6.3-r1.ebuild new file mode 100644 index 000000000000..157a5f4633dd --- /dev/null +++ b/dev-java/picocli/picocli-4.6.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/remkop/picocli/archive/refs/tags/v4.6.3.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild picocli-4.6.3.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="info.picocli:picocli:4.6.3" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java command line parser with both an annotations API and a programmatic API" +HOMEPAGE="https://picocli.info" +SRC_URI="https://github.com/remkop/${PN}/archive/v${PV}.tar.gz -> ${P}-sources.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# package org.junit.contrib.java.lang.system does not exist +# the project is here: https://github.com/stefanbirkner/system-rules +RESTRICT="test" + +DEPEND=" + >=virtual/jdk-1.8:* +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +DOCS=( LICENSE README.md RELEASE-NOTES.md ) + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS=( + "src/test/resources" +) + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} |