From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/jettison/Manifest | 3 +++ dev-java/jettison/jettison-1.3.7.ebuild | 37 +++++++++++++++++++++++++++++++++ dev-java/jettison/metadata.xml | 17 +++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 dev-java/jettison/Manifest create mode 100644 dev-java/jettison/jettison-1.3.7.ebuild create mode 100644 dev-java/jettison/metadata.xml (limited to 'dev-java/jettison') diff --git a/dev-java/jettison/Manifest b/dev-java/jettison/Manifest new file mode 100644 index 000000000000..9b7c69b2c05f --- /dev/null +++ b/dev-java/jettison/Manifest @@ -0,0 +1,3 @@ +DIST jettison-1.3.7.tar.gz 63200 BLAKE2B b33f53a1605b0fa4acd0204602193e4fb7a994c777accf2e64dd77f865501be648aff0d3293730348b9f0c2812c39e74c776adc20780bb902e6f75a538a764a2 SHA512 c669d0c1c4605c683d1d726ea7eea0f0079cd5fdddc40f4bc4e08b20b7ef7df414f4b2265fd91e1c34e30809c78f9e8690382c51a1ba6653a6fd688b22c07cd4 +EBUILD jettison-1.3.7.ebuild 942 BLAKE2B 2576951d9de8e864935b877396bb69803ac020347e477e907beca9d46508b821d8f7c504e472e2b8ae0e9d7275ccfd8d13d7899c6457c6573d6d28c5e7b7af6f SHA512 09604f1cad60d54a76e01d6a8fcb601cd47ae4d42fd28c721af30917c34929ac5e5d148852da9284757cda4224be2193d8fbccf9bc732e9a0baa6bd67b634cf1 +MISC metadata.xml 607 BLAKE2B 39b24dd0be0b0264413e3b4ca99b7e1989d36004b289f3f243d1fc69894e47ac61340ea521acc9061c5bac7862f08b4e9dd2b1f6857e4ddea4884d73b4787e74 SHA512 1dc350358996542f846e7d41e4348efba367610a1905c0f40992b2cf9eaeccab077eabc7f11cd38730579e4bcbd8f32630c825c79a1214d77153c65f81c2337c diff --git a/dev-java/jettison/jettison-1.3.7.ebuild b/dev-java/jettison/jettison-1.3.7.ebuild new file mode 100644 index 000000000000..c02d303d2230 --- /dev/null +++ b/dev-java/jettison/jettison-1.3.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A JSON StAX implementation" +HOMEPAGE="https://github.com/codehaus/jettison" +SRC_URI="https://github.com/codehaus/${PN}/archive/${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="test" + +RDEPEND=">=virtual/jre-1.6" + +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:4 + dev-java/wstx:3.2 )" + +S="${WORKDIR}/${PN}-${P}" +JAVA_SRC_DIR="${S}/src/main/java" + +src_test() { + cd src/test/java || die + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars junit-4,wstx-3.2)" + + local TESTS=$(find * -name "*Test.java" ! -name "DOMTest.java") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -classpath "${CP}" $(find -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} diff --git a/dev-java/jettison/metadata.xml b/dev-java/jettison/metadata.xml new file mode 100644 index 000000000000..9a6adedc8b13 --- /dev/null +++ b/dev-java/jettison/metadata.xml @@ -0,0 +1,17 @@ + + + + + java@gentoo.org + Java + + + Jettison is a collection of Java APIs (like STaX and DOM) which read and + write JSON. This allows nearly transparent enablement of JSON based web + services in services frameworks like CXF or XML serialization frameworks + like XStream. + + + codehaus/jettison + + -- cgit v1.2.3