From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/stax/Manifest | 6 +++ 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 | 53 +++++++++++++++++++++++++++ 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..be33866a943f --- /dev/null +++ b/dev-java/stax/Manifest @@ -0,0 +1,6 @@ +AUX 1.2.0-build-version.patch 438 SHA256 8cb71f46b4231202195537f658f296c35412a9e9e942338dc93727e8d81c5720 SHA512 f001f61d2cf0346a5e39c1b5392357e293a0f35ccee45dd3bc9b96a346f63280088572ac2b23b01637d11c8f0b888fd91687407d70d1bdd9903cdeb9a9c7028d WHIRLPOOL 3873cc3d6c06623f2c5f7f127236f5f52dd3af789e70bfd05b93bcebc39a4e7570da07e946420b594ee1379008bb047d2ca9002131db98a58540ca9ad3136279 +DIST stax-src-1.2.0.zip 310738 SHA256 c4dc2ef0be6a21dcdb5643ab89e9cb3b62f18ad213967a9ba3901b71cd97843a SHA512 41686d961c7a211ee02e9432a141ff75326414da9576608a3567ca7e154ed24ad804cd01849364a5ec8def1a6e5048197850bafd67fc5ff2b6a10307a0fec9af WHIRLPOOL 8f9aea0015acb10eaefa184700701a624ed1f45d8e7b236661663da2e3a0a8b2fb129653d08edc19344b573e537c5fb44123a6791c0141bd073aad1b8fb9a621 +EBUILD stax-1.2.0.ebuild 1205 SHA256 7f5220a2b62ebf0cdaa7620c25def6428d825e0a7fd5f18b0d64e1f66d587e29 SHA512 f2eb4163164e5dfa5fc4f321ef2e3d8803923b1116f02e8f85c61557e36ab5d021d1d8182395b25a51e147049359e2d0dfcd82760c1b1d53b67aaf077c7becd6 WHIRLPOOL 60cafdf2f92ac8db158477a4d35103de379b680113babe719c549c11b0ecb79116c76676b24c7069e141dbff1ba0649b1d924b4cff3e43fd0aee142c74c67dea +MISC ChangeLog 2587 SHA256 b4914039517d70aac041bb5be5f4ca5ca90fda8b9959aa2fb9f5151d60de532b SHA512 08147c98441c1f1b9e846e54a707ccd8e71a2c9236c03b55dd2d35796d3654307cfcb56f18b0d35a6c72ec1c5453727d9331c0c897d154c196d711d5a4bc48c7 WHIRLPOOL e26d04bec30e2479d09a107c44ec056db3ffe8b03620b125f33b25b5606af1578b80b7dfd9d091eacf03df191864456987b54308a2e098fa49c4bf8cb100ec40 +MISC ChangeLog-2015 1082 SHA256 7ebf19b8e684d0c6cf758b9ea8bc92599acd715fd2000096a9cdb3fb3ed05edf SHA512 15c021a59d90fcb37a71b8feea304ee4ed6af607d05ace0bd7fe3a061f55bd31ddb9b5f99643ae4ad28237b10ec64b6f27f1b22e163635c556d3c4f8454c37da WHIRLPOOL ea509efd459beea5cbb3b07fdc40318cff55b7d155a00143d692ead3107192325c9606b52bab0b6b56fcd19c3e706643a3666a1a0daba5dac4769cbd6cbd596e +MISC metadata.xml 565 SHA256 52a3ae39881f33fa45599e80a48ebce01e50d5c43e0955dae206fbd666695748 SHA512 b54fb4d000aa14a4bc583007aaf576e9cba96a17c8aed6ba1024dd925bca04a2015048490ed426522a696e614a159eeea17a587a2d6f61be8b38cb608ed06f21 WHIRLPOOL 7e34534a92b44dbe786ec9e845c82a7c8dd8cd2ff682ee66b6a9c9f205f8868b48c9c1fc8b20f879f523e12f9cb952d435cab82efbe53b2b83be3c5b99888bd9 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..97e45fdd7ba6 --- /dev/null +++ b/dev-java/stax/stax-1.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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