diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-04 22:04:03 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-04 22:04:03 +0000 |
commit | e6500950eb07fad966aabfc87c2a78a33a909f5d (patch) | |
tree | a08c2ee4da1786a07d0a7a9bc4343def7017b9d6 /dev-java/stax | |
parent | version bump (diff) | |
download | gentoo-2-e6500950eb07fad966aabfc87c2a78a33a909f5d.tar.gz gentoo-2-e6500950eb07fad966aabfc87c2a78a33a909f5d.tar.bz2 gentoo-2-e6500950eb07fad966aabfc87c2a78a33a909f5d.zip |
Initial addition for bug #92763. Initial ebuild done by kiorky <kiorky@cryptelium.net> and then improved by me.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-java/stax')
-rw-r--r-- | dev-java/stax/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/stax/Manifest | 20 | ||||
-rw-r--r-- | dev-java/stax/files/1.2.0-build-version.patch | 11 | ||||
-rw-r--r-- | dev-java/stax/files/digest-stax-1.2.0 | 3 | ||||
-rw-r--r-- | dev-java/stax/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/stax/stax-1.2.0.ebuild | 54 |
6 files changed, 110 insertions, 0 deletions
diff --git a/dev-java/stax/ChangeLog b/dev-java/stax/ChangeLog new file mode 100644 index 000000000000..d391a989c0cf --- /dev/null +++ b/dev-java/stax/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/stax +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/stax/ChangeLog,v 1.1 2007/07/04 22:04:03 betelgeuse Exp $ + +*stax-1.2.0 (04 Jul 2007) + + 04 Jul 2007; Petteri Räty <betelgeuse@gentoo.org> + +files/1.2.0-build-version.patch, +metadata.xml, +stax-1.2.0.ebuild: + Initial addition for bug #92763. Initial ebuild done by kiorky + <kiorky@cryptelium.net> and then improved by me. + diff --git a/dev-java/stax/Manifest b/dev-java/stax/Manifest new file mode 100644 index 000000000000..9d506cf77283 --- /dev/null +++ b/dev-java/stax/Manifest @@ -0,0 +1,20 @@ +AUX 1.2.0-build-version.patch 438 RMD160 e86404e61498af2800c6a586db6b0eedf9e6fbec SHA1 95880f4afa44370f4641aaa9a0977616fa91e5e9 SHA256 8cb71f46b4231202195537f658f296c35412a9e9e942338dc93727e8d81c5720 +MD5 7b340d39c08eb168dc6732e80ee97993 files/1.2.0-build-version.patch 438 +RMD160 e86404e61498af2800c6a586db6b0eedf9e6fbec files/1.2.0-build-version.patch 438 +SHA256 8cb71f46b4231202195537f658f296c35412a9e9e942338dc93727e8d81c5720 files/1.2.0-build-version.patch 438 +DIST stax-src-1.2.0.zip 310738 RMD160 93a1f05b4fbe70927020c145d5c745eaefd6da67 SHA1 98fe1a253d5b63033589b1f53fcf130813ceb088 SHA256 c4dc2ef0be6a21dcdb5643ab89e9cb3b62f18ad213967a9ba3901b71cd97843a +EBUILD stax-1.2.0.ebuild 1235 RMD160 3d82ba8e13ef70704fd1b6c6430b31feb75a54b4 SHA1 283e435ce4729485ce2092652021cddef5712719 SHA256 4225e3a521b2374ce604d0df44ac5567174a714896ddefaabe1fd80a0741972b +MD5 f1a28b91a449bcd95cfa37e7511050ee stax-1.2.0.ebuild 1235 +RMD160 3d82ba8e13ef70704fd1b6c6430b31feb75a54b4 stax-1.2.0.ebuild 1235 +SHA256 4225e3a521b2374ce604d0df44ac5567174a714896ddefaabe1fd80a0741972b stax-1.2.0.ebuild 1235 +MISC ChangeLog 382 RMD160 e05ab0435d3944da11cd95edccfea79d9b6561cf SHA1 4b4baa320c8bc49af0e3b7f1aa5118c2995ca021 SHA256 269cbf9f60593836ea1465dca63371d2edc6afbe64a74d1409ac49d8bdf9575d +MD5 79c5f9a0e5d5d61a5150f8ab896d0988 ChangeLog 382 +RMD160 e05ab0435d3944da11cd95edccfea79d9b6561cf ChangeLog 382 +SHA256 269cbf9f60593836ea1465dca63371d2edc6afbe64a74d1409ac49d8bdf9575d ChangeLog 382 +MISC metadata.xml 487 RMD160 c2b179aaf031d63e2178dfbee2e97c64fa54e725 SHA1 899c22ecb3a260e8ef95a107eefc371d874d11dd SHA256 c4a3b0318a2f771ed4c45a3a57ab1443332127c73c76f598868639b156293504 +MD5 3b4912a8626128041f7edac0a511b7c2 metadata.xml 487 +RMD160 c2b179aaf031d63e2178dfbee2e97c64fa54e725 metadata.xml 487 +SHA256 c4a3b0318a2f771ed4c45a3a57ab1443332127c73c76f598868639b156293504 metadata.xml 487 +MD5 51b35e6607e114e63e8275f7d14d0a05 files/digest-stax-1.2.0 235 +RMD160 8c4a8c2eb36969a264cf9d181c52799f80182587 files/digest-stax-1.2.0 235 +SHA256 6975f5a79758cebfef0c419e6cf2e4cde6e3b720ef04481eeecaf75319ff960d files/digest-stax-1.2.0 235 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 @@ + /> + + <!-- API properties --> +- <property name="api_version" value="1.0.1"/> ++ <property name="api_version" value="1.2.0"/> + <property name="api_src_dir" value="${build_dir}/api_src"/> + <property name="api_dir" value="api"/> + <property name="jar_api" value="${build_dir}/stax-api-${api_version}.jar"/> diff --git a/dev-java/stax/files/digest-stax-1.2.0 b/dev-java/stax/files/digest-stax-1.2.0 new file mode 100644 index 000000000000..b3eecab2729e --- /dev/null +++ b/dev-java/stax/files/digest-stax-1.2.0 @@ -0,0 +1,3 @@ +MD5 980143f96b3f6ce45d2e4947da21a5e9 stax-src-1.2.0.zip 310738 +RMD160 93a1f05b4fbe70927020c145d5c745eaefd6da67 stax-src-1.2.0.zip 310738 +SHA256 c4dc2ef0be6a21dcdb5643ab89e9cb3b62f18ad213967a9ba3901b71cd97843a stax-src-1.2.0.zip 310738 diff --git a/dev-java/stax/metadata.xml b/dev-java/stax/metadata.xml new file mode 100644 index 000000000000..370119aceffe --- /dev/null +++ b/dev-java/stax/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <longdescription> +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. + </longdescription> +</pkgmetadata> 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..47f2adf5ae12 --- /dev/null +++ b/dev-java/stax/stax-1.2.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/stax/stax-1.2.0.ebuild,v 1.1 2007/07/04 22:04:03 betelgeuse Exp $ + +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 from and to your application." +HOMEPAGE="http://stax.codehaus.org/" +SRC_URI="http://dist.codehaus.org/${PN}/distributions/${PN}-src-${PV}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~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/* +} |