diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-07-25 12:29:36 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-07-27 06:57:56 +0200 |
commit | a17b5906853540e821d2905003dfae15df0790d7 (patch) | |
tree | 4b65a9e05bb18dd1643a69e92dcfe7d225301a00 /dev-java/picocli | |
parent | sys-kernel/gentoo-kernel-bin: bump to 5.13.4-r1 for arm64 (diff) | |
download | gentoo-a17b5906853540e821d2905003dfae15df0790d7.tar.gz gentoo-a17b5906853540e821d2905003dfae15df0790d7.tar.bz2 gentoo-a17b5906853540e821d2905003dfae15df0790d7.zip |
dev-java/picocli: new package
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/21564/commits/ce3c6ddecdf2c5f8e052f60d8df8a8c1c7093d17
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/picocli')
-rw-r--r-- | dev-java/picocli/Manifest | 1 | ||||
-rw-r--r-- | dev-java/picocli/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/picocli/picocli-4.6.1.ebuild | 46 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/picocli/Manifest b/dev-java/picocli/Manifest new file mode 100644 index 000000000000..0a79ef29ced1 --- /dev/null +++ b/dev-java/picocli/Manifest @@ -0,0 +1 @@ +DIST picocli-4.6.1-sources.tar.gz 13467061 BLAKE2B fd7dc19d572e975a4b47ac0bd9a7ab4be0f5fdf1e3e03c2d3b5026ee9ad6cbcf5e6214234746551d61c427915095e067f44c1d3dfb27071456e76db26d567b23 SHA512 e2c6c6171c3ec9cbe35e7034e119dfe922993c9e7b8d81ea94faeb8b24c9c4c26023be1edb5d67041119c4bf73077d522fbe711e8c1af788063663e2bb06ab1f diff --git a/dev-java/picocli/metadata.xml b/dev-java/picocli/metadata.xml new file mode 100644 index 000000000000..8a708bc0b47c --- /dev/null +++ b/dev-java/picocli/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <longdescription>Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source and avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.</longdescription> + <upstream> + <remote-id type="github">remkop/picocli</remote-id> + <bugs-to>https://github.com/remkop/picocli/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/dev-java/picocli/picocli-4.6.1.ebuild b/dev-java/picocli/picocli-4.6.1.ebuild new file mode 100644 index 000000000000..c0a9f09b3b48 --- /dev/null +++ b/dev-java/picocli/picocli-4.6.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 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.1.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x68" --ebuild picocli-4.6.1.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="info.picocli:picocli:4.0.0-alpha-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="http://picocli.info" +SRC_URI="https://github.com/remkop/${PN}/archive/refs/tags/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 +RESTRICT="test" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:* + test? ( dev-java/jansi:0 )" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( LICENSE README.md RELEASE-NOTES.md ) + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main" + +JAVA_TEST_GENTOO_CLASSPATH="jansi,junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +src_install() { + default + java-pkg-simple_src_install +} |