summaryrefslogtreecommitdiff
path: root/dev-java/wstx
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/wstx')
-rw-r--r--dev-java/wstx/Manifest4
-rw-r--r--dev-java/wstx/files/wstx-3.2.9-build.xml.patch13
-rw-r--r--dev-java/wstx/metadata.xml15
-rw-r--r--dev-java/wstx/wstx-3.2.9-r1.ebuild60
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-java/wstx/Manifest b/dev-java/wstx/Manifest
new file mode 100644
index 000000000000..3b429be9f3ee
--- /dev/null
+++ b/dev-java/wstx/Manifest
@@ -0,0 +1,4 @@
+AUX wstx-3.2.9-build.xml.patch 389 BLAKE2B ddb6b3e359aaffeab92a7cf21bfd00070a178c9baf594d0d742dd393f2cbe5fa81d13ce8c2a1555eeecc9efe58e3797274547d3b9c9e746247fa34727a438132 SHA512 e9fb8f3c81957970b9b2fb73bdeb8d3b91d1fe30712829aa3dfa2efc3b0be5b97f0a3b668c99570d5d6ebd1893d0dfd11d8f1961af700a8ff4826ce3250ffcb5
+DIST wstx-src-3.2.9.zip 2218419 BLAKE2B 98daf8a6bca50085cfa3f281c65567da5a51fd376042f6bb4fcb6bd1f77a442acbae8e27507e9aea8bc5da8da969f30c38a8e253f55d535f6669a3a0690c850e SHA512 316679a6586e453b85ffe4dd573a92019282b0d2028e931f33fafa8b0f3aef856c8326c72049ce42645e4b520bbd1bd91e74005f090dc22dc7ca7c76a0640117
+EBUILD wstx-3.2.9-r1.ebuild 1223 BLAKE2B 0851a5c8a77b35f0a0a4ffb0cd6e53b9cc4016f128953ea905e92238b9863ec06231b9ee06b5b2901306117614a4747924576422dc7e7e73b56e3c8318ca036e SHA512 e2808aac94bf465fc0041189edd97fc61e9a4039046fe27efbcd4684d8003e50c4910e348123e0ae2fed403feb4220370b05c6f5c2751a8dd0398103a6a53c2f
+MISC metadata.xml 498 BLAKE2B 527aeb1edb2d32a86b920d0fe640c3665f62ed3c03d0512ae7bb7c3b2c011b94b487804dfa07bba68bc03ea46b69a05c2f4fad0e66738891615120a220d4807c SHA512 fe5cf72ac01bc004dc57fbf57a49e1c28b3b8191f236d5ef025dee65bfad7b44028abd374c02b4cc1107564e2a1706ef8c44e23c5b89a0dfda950cac4a6f75c1
diff --git a/dev-java/wstx/files/wstx-3.2.9-build.xml.patch b/dev-java/wstx/files/wstx-3.2.9-build.xml.patch
new file mode 100644
index 000000000000..58f689039cf6
--- /dev/null
+++ b/dev-java/wstx/files/wstx-3.2.9-build.xml.patch
@@ -0,0 +1,13 @@
+--- a/build.xml
++++ b/build.xml
+@@ -104,10 +104,6 @@
+ <include name="org/codehaus/stax2/**/*.class" />
+ </patternset>
+
+- <!-- 02-Mar-2009, TSa: Let's try automating Maven builds
+- -->
+- <import file="build-maven-deploy.xml" />
+-
+ <!-- And then something nifty, for creating minimal jars! -->
+
+ <classfileset id="j2meInputMinimal" dir="${BuildClassesDir}">
diff --git a/dev-java/wstx/metadata.xml b/dev-java/wstx/metadata.xml
new file mode 100644
index 000000000000..596d71c6cea1
--- /dev/null
+++ b/dev-java/wstx/metadata.xml
@@ -0,0 +1,15 @@
+<?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">
+ Woodstox is a high-performance validating namespace-aware StAX-compliant
+ (JSR-173) Open Source XML-processor written in Java.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">FasterXML/woodstox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/wstx/wstx-3.2.9-r1.ebuild b/dev-java/wstx/wstx-3.2.9-r1.ebuild
new file mode 100644
index 000000000000..0db6b6957de9
--- /dev/null
+++ b/dev-java/wstx/wstx-3.2.9-r1.ebuild
@@ -0,0 +1,60 @@
+# 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-ant-2
+
+DESCRIPTION="Woodstox is a high-performance validating namespace-aware XML-processor"
+HOMEPAGE="https://github.com/FasterXML/woodstox"
+SRC_URI="mirror://gentoo/${PN}-src-${PV}.zip"
+LICENSE="Apache-2.0"
+SLOT="3.2"
+KEYWORDS="amd64 ppc64 x86"
+IUSE="test"
+
+CDEPEND="
+ dev-java/sax:0
+ dev-java/msv:0
+ dev-java/relaxng-datatype:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ test? ( dev-java/ant-junit:0 )
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+
+EANT_BUILD_TARGET="jars"
+EANT_DOC_TARGET="javadoc"
+
+# Don't need to make a folder
+S="${WORKDIR}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+java_prepare() {
+ rm -v lib/msv/*.jar || die
+ rm -v lib/*.jar || die
+
+ # Get rid of a missing include.
+ epatch "${FILESDIR}"/${P}-build.xml.patch
+}
+
+EANT_GENTOO_CLASSPATH="sax,msv,relaxng-datatype"
+
+src_test(){
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar build/"${PN}"-api-"${PV}".jar "${PN}"-api.jar
+ java-pkg_newjar build/"${PN}"-asl-"${PV}".jar "${PN}".jar
+ use doc && java-pkg_dojavadoc build/javadoc
+ use source && java-pkg_dosrc src
+}