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 | acd2bc8b69dbb81205247012a75d731eb2d78b28 (patch) | |
tree | e49c3ebf434406616da04b3e3d5283c55e93b8b1 /dev-java/stax | |
parent | version bump (diff) | |
download | historical-acd2bc8b69dbb81205247012a75d731eb2d78b28.tar.gz historical-acd2bc8b69dbb81205247012a75d731eb2d78b28.tar.bz2 historical-acd2bc8b69dbb81205247012a75d731eb2d78b28.zip |
Initial addition for bug #92763. Initial ebuild done by kiorky <kiorky@cryptelium.net> and then improved by me.
Package-Manager: portage-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 | 30 | ||||
-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, 120 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..bc1d0b32fa82 --- /dev/null +++ b/dev-java/stax/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 1332 RMD160 32d670e0badd356e23626cabe67745479f32c987 SHA1 e54d9e7f864210e0f89a7ba2a1ac962dc0a09456 SHA256 5a70c912b8bb83964547c0db076b5a0fdf22f4c39e39f57b4e82cd5647b3fc50 +MD5 ba8018b4abfd0fc6e869f03dc7b44a0c stax-1.2.0.ebuild 1332 +RMD160 32d670e0badd356e23626cabe67745479f32c987 stax-1.2.0.ebuild 1332 +SHA256 5a70c912b8bb83964547c0db076b5a0fdf22f4c39e39f57b4e82cd5647b3fc50 stax-1.2.0.ebuild 1332 +MISC ChangeLog 471 RMD160 7b2698b72c43e33f2f6be481e242100c783b3967 SHA1 8dd961ea10afb29521a7074d16a62411b5c278cf SHA256 401e23381cd785886bc200a3fe6ebf766523f277374d15b599d6d5b6389d5277 +MD5 a5991125fffedfe31cfdecf42b1c74e0 ChangeLog 471 +RMD160 7b2698b72c43e33f2f6be481e242100c783b3967 ChangeLog 471 +SHA256 401e23381cd785886bc200a3fe6ebf766523f277374d15b599d6d5b6389d5277 ChangeLog 471 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.4 (GNU/Linux) + +iD8DBQFGjBlgcxLzpIGCsLQRAh6vAJ98aGS+yN6RJ0zZVFgnBc8+OoOvYACeOckE +p6pEIdIwGod22vAI9hkrzbU= +=/x9B +-----END PGP SIGNATURE----- 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/* +} |