summaryrefslogtreecommitdiff
path: root/dev-java/picocli
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/picocli')
-rw-r--r--dev-java/picocli/Manifest3
-rw-r--r--dev-java/picocli/metadata.xml12
-rw-r--r--dev-java/picocli/picocli-4.6.1.ebuild46
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/picocli/Manifest b/dev-java/picocli/Manifest
new file mode 100644
index 000000000000..0f14c604a24b
--- /dev/null
+++ b/dev-java/picocli/Manifest
@@ -0,0 +1,3 @@
+DIST picocli-4.6.1-sources.tar.gz 13467061 BLAKE2B fd7dc19d572e975a4b47ac0bd9a7ab4be0f5fdf1e3e03c2d3b5026ee9ad6cbcf5e6214234746551d61c427915095e067f44c1d3dfb27071456e76db26d567b23 SHA512 e2c6c6171c3ec9cbe35e7034e119dfe922993c9e7b8d81ea94faeb8b24c9c4c26023be1edb5d67041119c4bf73077d522fbe711e8c1af788063663e2bb06ab1f
+EBUILD picocli-4.6.1.ebuild 1250 BLAKE2B c247b67dc8696752560efd06e30a52a01914ac7f3134fa0afef6c33a2f2a4e96143abcaab78ce7a24993d4f0770f7a9dfacadfca9a8637fe51d12cd6fa4c9e25 SHA512 f3846290432589e4bd0d742f1ae07cb51a93acedc892ef972771fbfc4a17d762580e882364b6be4e5a470fdb5e4059f6e488d86a2f29911d5b9eb5e2d8a38135
+MISC metadata.xml 700 BLAKE2B 2b5ab558999edb1ff28e1f72da64864781c1846e16c0914a081325878d6fca2d81f857285cf09995ef18d3484d0cd0d058a2f92585518ea293d2c249690083f9 SHA512 aa444977e0bf1546fb2f0f895d2b93191627f1fc3e79404e5ad6487140aaa2cb19cf0d6b736208c5fc625a75c7d28e8fb5abdb438d9f0ce7f762cb8a0e1609ac
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
+}