summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-03-02 23:02:22 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-03-02 23:08:11 +0100
commitdb802bc4e5c2880f9b9f65cb4fe69a875d718259 (patch)
treedbf7f7a70ea256921ffb455403cb6215a6d34ad9 /dev-java
parentdev-perl/USB-LibUSB: Version bump (diff)
downloadgentoo-db802bc4e5c2880f9b9f65cb4fe69a875d718259.tar.gz
gentoo-db802bc4e5c2880f9b9f65cb4fe69a875d718259.tar.bz2
gentoo-db802bc4e5c2880f9b9f65cb4fe69a875d718259.zip
dev-java/jvyamlb: EAPI 6 bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --force
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jvyamlb/Manifest1
-rw-r--r--dev-java/jvyamlb/jvyamlb-0.2.5-r1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/jvyamlb/Manifest b/dev-java/jvyamlb/Manifest
index a2e5f3283d0..449611139fd 100644
--- a/dev-java/jvyamlb/Manifest
+++ b/dev-java/jvyamlb/Manifest
@@ -1 +1,2 @@
+DIST jvyamlb-0.2.5.tar.gz 526052 BLAKE2B 8b55748eb4e9b03b1e5ca78fd41145456d1329a3edb0a7d02c6b5e37a15c4a25e93cae9337ee9aeedb6611ee87ba09157e00ef4a55ed4a8202f8282e287b56dc SHA512 28d707255ca7447ad00f29bf1215e28fa485557e76795c47cbf309a5b1b97ba4c901ddc7b1507d06301b4f544bfc437c4926f457516832f953aff6b29b01b711
DIST jvyamlb-src-0.2.5.tar.gz 1767828 BLAKE2B d87a31ce4cbba1ad039afaa067b0430d488abe5ed82fa53a14b4971c236e6ed77bcc652bdca4e9ff2d465d9468927f1dd5113bb44c63abba80caf50b272c60d1 SHA512 1e853ff957b888d706a4d264aac4573cf4aced02604e2679d5871f3a92c016136a7fb73adf5d5c0be0cea9f28b4bc6faf11abc0334fe2f96a251a7d9cc228711
diff --git a/dev-java/jvyamlb/jvyamlb-0.2.5-r1.ebuild b/dev-java/jvyamlb/jvyamlb-0.2.5-r1.ebuild
new file mode 100644
index 00000000000..9a0b11e6951
--- /dev/null
+++ b/dev-java/jvyamlb/jvyamlb-0.2.5-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+JAVA_PKG_IUSE="source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JvYAMLb, YAML processor extracted from JRuby"
+HOMEPAGE="https://github.com/olabini/jvyamlb"
+SRC_URI="https://github.com/olabini/jvyamlb/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
+
+CDEPEND="
+ dev-java/bytelist:0
+ dev-java/jcodings:0
+ dev-java/joda-time:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.4
+ test? ( dev-java/ant-junit )"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="bytelist jcodings joda-time"
+
+DOCS=( CREDITS README )
+
+src_prepare() {
+ default
+
+ java-pkg_clean
+
+ sed -i 's:depends="test":depends="compile":' build.xml || die
+}
+
+src_install() {
+ einstalldocs
+ java-pkg_newjar lib/${P}.jar
+ use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test
+}