summaryrefslogtreecommitdiff
path: root/dev-java/jettison
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jettison
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jettison')
-rw-r--r--dev-java/jettison/Manifest3
-rw-r--r--dev-java/jettison/jettison-1.3.7.ebuild37
-rw-r--r--dev-java/jettison/metadata.xml17
3 files changed, 57 insertions, 0 deletions
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 @@
+<?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>
+ <name>Java</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">codehaus/jettison</remote-id>
+ </upstream>
+</pkgmetadata>