diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-11-16 06:27:14 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-11-16 06:27:14 +0000 |
commit | 653033c04faf55d3ca1f184d4af151f3c5da913e (patch) | |
tree | 2ca0cefbadd75137dce428536d692c5ccb7c628d | |
parent | Replace references to deprecated ${IMAGE} with equivalent ${D}. (diff) | |
download | gentoo-2-653033c04faf55d3ca1f184d4af151f3c5da913e.tar.gz gentoo-2-653033c04faf55d3ca1f184d4af151f3c5da913e.tar.bz2 gentoo-2-653033c04faf55d3ca1f184d4af151f3c5da913e.zip |
Bumping to fix doc install bug
(Portage version: 2.1.3.19)
-rw-r--r-- | dev-java/xstream/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/xstream/files/digest-xstream-1.2-r1 | 3 | ||||
-rw-r--r-- | dev-java/xstream/xstream-1.2-r1.ebuild | 82 |
3 files changed, 91 insertions, 1 deletions
diff --git a/dev-java/xstream/ChangeLog b/dev-java/xstream/ChangeLog index 3acfdcdfaa98..a235cba0f85b 100644 --- a/dev-java/xstream/ChangeLog +++ b/dev-java/xstream/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/xstream # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xstream/ChangeLog,v 1.10 2007/11/13 13:23:14 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xstream/ChangeLog,v 1.11 2007/11/16 06:27:13 ali_bush Exp $ + +*xstream-1.2-r1 (16 Nov 2007) + + 16 Nov 2007; <alistair@gentoo.org> +xstream-1.2-r1.ebuild: + Bumping to fix doc install. 13 Nov 2007; Christian Faulhammer <opfer@gentoo.org> xstream-1.2.ebuild: filtered jikes diff --git a/dev-java/xstream/files/digest-xstream-1.2-r1 b/dev-java/xstream/files/digest-xstream-1.2-r1 new file mode 100644 index 000000000000..89340ca3b879 --- /dev/null +++ b/dev-java/xstream/files/digest-xstream-1.2-r1 @@ -0,0 +1,3 @@ +MD5 488fd2742f2d9f2b8bfe9acd8bccd097 xstream-1.2.zip 5488349 +RMD160 1f55cf75c8ed2cf2746727e3435b119c5caa1eff xstream-1.2.zip 5488349 +SHA256 7536d9b1f2bf1c1b235d1a1114dbdae08a8ed5953b1fe7a2c760bf807770e26d xstream-1.2.zip 5488349 diff --git a/dev-java/xstream/xstream-1.2-r1.ebuild b/dev-java/xstream/xstream-1.2-r1.ebuild new file mode 100644 index 000000000000..fe05fd94c2a6 --- /dev/null +++ b/dev-java/xstream/xstream-1.2-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xstream/xstream-1.2-r1.ebuild,v 1.1 2007/11/16 06:27:13 ali_bush Exp $ + +JAVA_PKG_IUSE="doc examples java5 source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A text-processing Java classes that serialize objects to XML and back again." +HOMEPAGE="http://xstream.codehaus.org/index.html" +SRC_URI="http://dist.codehaus.org/xstream/distributions/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEPS=" + >=dev-java/commons-lang-2.1 + =dev-java/cglib-2.1* + >=dev-java/dom4j-1.3 + dev-java/jsr173 + ~dev-java/jdom-1.0 + =dev-java/jmock-1* + >=dev-java/joda-time-1.2 + dev-java/xom + >=dev-java/xpp3-1.1.3.4 + =dev-java/xml-commons-external-1.3* +" +#test? ( +# dev-java/ant-junit +# dev-java/ant-trax +# dev-java/xml-writer +# dev-java/stax +# ) + +DEPEND="java5? ( >=virtual/jdk-1.5 ) + !java5? ( =virtual/jdk-1.4* ) + app-arch/unzip + ${COMMON_DEPS}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPS}" + +JAVA_PKG_BSFIX="off" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v *.jar || die + rm -v lib/jdk1.3/*.jar || die + cd "${S}/lib" + rm -v *.jar + java-pkg_jar-from xml-commons-external-1.3 + java-pkg_jar-from jsr173 + java-pkg_jar-from cglib-2.1 + java-pkg_jar-from commons-lang-2.1 + java-pkg_jar-from dom4j-1 + java-pkg_jar-from jdom-1.0 + java-pkg_jar-from jmock-1.0 + java-pkg_jar-from joda-time + java-pkg_jar-from xom + java-pkg_jar-from xpp3 + java-pkg_filter-compiler jikes +} + +# Restricted until we get keywords for deps. See: +# https://bugs.gentoo.org/show_bug.cgi?id=184234 +RESTRICT="test" + +src_test() { + java-pkg_jar-from --into lib junit,xml-writer,stax + ANT_TASKS="ant-junit ant-trax" eant test +} + +src_install() { + java-pkg_newjar ${P}.jar + + if use doc; then + java-pkg_dojavadoc javadoc + fi + use source && java-pkg_dosrc src/java/com +} |