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/stax/Manifest | 4 ++ dev-java/stax/files/1.2.0-build-version.patch | 11 ++++++ dev-java/stax/metadata.xml | 14 +++++++ dev-java/stax/stax-1.2.0.ebuild | 55 +++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 dev-java/stax/Manifest create mode 100644 dev-java/stax/files/1.2.0-build-version.patch create mode 100644 dev-java/stax/metadata.xml create mode 100644 dev-java/stax/stax-1.2.0.ebuild (limited to 'dev-java/stax') diff --git a/dev-java/stax/Manifest b/dev-java/stax/Manifest new file mode 100644 index 000000000000..1a3809672d26 --- /dev/null +++ b/dev-java/stax/Manifest @@ -0,0 +1,4 @@ +AUX 1.2.0-build-version.patch 438 BLAKE2B 516b97e885a94e7819f860eb2bc1e8623160884199262d0382092f735ba83d3e634ba20aaa7e095ab5d755def9be478457c6137729fb1b6237e41bb4af14e6ac SHA512 f001f61d2cf0346a5e39c1b5392357e293a0f35ccee45dd3bc9b96a346f63280088572ac2b23b01637d11c8f0b888fd91687407d70d1bdd9903cdeb9a9c7028d +DIST stax-src-1.2.0.zip 310738 BLAKE2B 09d7c2c60c947ca06c02e660337a1da208ece8a3302b9fc234ee768e7a6d7ab41d958885e0b67cdac4e346f9b641a4de1b36498ef8cd91196b4dce6481168dc3 SHA512 41686d961c7a211ee02e9432a141ff75326414da9576608a3567ca7e154ed24ad804cd01849364a5ec8def1a6e5048197850bafd67fc5ff2b6a10307a0fec9af +EBUILD stax-1.2.0.ebuild 1213 BLAKE2B d52189cceb713256946026474b4780c576c9ffb9f3b46000e3c794d7ee1fbe555855e7a816644f22acfcced857fb6cec07ab7a824a82b6dcfcc5cfbd0d9cf67a SHA512 da5b43375574ad7edca28acf053fbdbda3a0aa6e44a0f57f8e3c52b5913d35deaa15c26fb12b8bb4eaa41d33a24281bd5c0282c426ff646e662de2cc349685e0 +MISC metadata.xml 565 BLAKE2B 6e86ddf8323cff40e45306b90374aa3e179ead4534a2c066b0f220816dffee9e03d57656ab88088c3bf209506835d4b720f4ca849f71468777a396b6c53f1ed4 SHA512 b54fb4d000aa14a4bc583007aaf576e9cba96a17c8aed6ba1024dd925bca04a2015048490ed426522a696e614a159eeea17a587a2d6f61be8b38cb608ed06f21 diff --git a/dev-java/stax/files/1.2.0-build-version.patch b/dev-java/stax/files/1.2.0-build-version.patch new file mode 100644 index 000000000000..4880d1f00776 --- /dev/null +++ b/dev-java/stax/files/1.2.0-build-version.patch @@ -0,0 +1,11 @@ +--- stax/build.xml 2006-06-16 18:17:56.000000000 +0200 ++++ build.xml 2007-02-24 19:21:46.875023427 +0100 +@@ -23,7 +23,7 @@ + /> + + +- ++ + + + diff --git a/dev-java/stax/metadata.xml b/dev-java/stax/metadata.xml new file mode 100644 index 000000000000..12faefe93cd7 --- /dev/null +++ b/dev-java/stax/metadata.xml @@ -0,0 +1,14 @@ + + + + + java@gentoo.org + Java + + +Features of StAX API: Standard pull parser interface, +Read/Write API: two levels, "raw" cursor access; object-based "event" access, +Efficient XML access (especiall cursor API), Gives application control over +parsing: "reverse Hollywood": you can call us, instead of waiting us to call you. + + diff --git a/dev-java/stax/stax-1.2.0.ebuild b/dev-java/stax/stax-1.2.0.ebuild new file mode 100644 index 000000000000..efab6107fec5 --- /dev/null +++ b/dev-java/stax/stax-1.2.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A standard XML processing API that allows you to stream XML data" +HOMEPAGE="https://github.com/codehaus" +SRC_URI="http://dist.codehaus.org/${PN}/distributions/${PN}-src-${PV}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4" + +# test? ( dev-java/ant-junit dev-java/ant-trax dev-java/xerces ) +DEPEND=" + >=virtual/jdk-1.4 + app-arch/unzip" + +S="${WORKDIR}" + +src_unpack(){ + unpack ${A} + cd "${S}" || die "cd failed" + epatch "${FILESDIR}/1.2.0-build-version.patch" +} + +EANT_BUILD_TARGET="ri_bin_dist" + +# A lot of these fail and that seems expected based on upstream +# svn logs +RESTRICT="test" + +src_test() { + mkdir lib + java-ant_rewrite-classpath build.xml + ANT_TASKS="ant-junit ant-trax" \ + EANT_GENTOO_CLASSPATH="junit,xerces-2" eant test +} + +src_install() { + java-pkg_newjar ${S}/build/stax-api-${PV}.jar stax-api.jar + java-pkg_newjar ${S}/build/stax-${PV}-dev.jar stax-dev.jar + + if use doc; then + java-pkg_dojavadoc "${S}/build/javadoc" + fi + use source && java-pkg_dosrc src/* +} -- cgit v1.2.3