diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-11-24 03:37:22 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-11-24 03:37:22 +0000 |
commit | 10634e25f2273d6c57736be076a1c2d223fff1cc (patch) | |
tree | 6ba043756b8960507e365f7bed411f4a51df8601 /dev-java/xmlunit | |
parent | x86 stable for bug #112837. (diff) | |
download | gentoo-2-10634e25f2273d6c57736be076a1c2d223fff1cc.tar.gz gentoo-2-10634e25f2273d6c57736be076a1c2d223fff1cc.tar.bz2 gentoo-2-10634e25f2273d6c57736be076a1c2d223fff1cc.zip |
Rev bump to fix condition dep on junit, changing to ant-core from ant
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-java/xmlunit')
-rw-r--r-- | dev-java/xmlunit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/xmlunit/Manifest | 8 | ||||
-rw-r--r-- | dev-java/xmlunit/files/digest-xmlunit-1.0-r1 | 1 | ||||
-rw-r--r-- | dev-java/xmlunit/xmlunit-1.0-r1.ebuild | 48 |
4 files changed, 61 insertions, 4 deletions
diff --git a/dev-java/xmlunit/ChangeLog b/dev-java/xmlunit/ChangeLog index 67675de36e32..f651ca95215a 100644 --- a/dev-java/xmlunit/ChangeLog +++ b/dev-java/xmlunit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xmlunit # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.4 2005/05/04 17:55:26 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.5 2005/11/24 03:37:22 compnerd Exp $ + +*xmlunit-1.0-r1 (24 Nov 2005) + + 24 Nov 2005; Saleem Abdulrasool <compnerd@gentoo.org> + +xmlunit-1.0-r1.ebuild: + Fixing a dep, changing to ant-core from ant. 04 May 2005; Jan Brinkmann <luckyduck@gentoo.org> xmlunit-1.0.ebuild: added ~ppc to KEYWORDS diff --git a/dev-java/xmlunit/Manifest b/dev-java/xmlunit/Manifest index 0f20ee5da4ac..9ad005028c69 100644 --- a/dev-java/xmlunit/Manifest +++ b/dev-java/xmlunit/Manifest @@ -1,5 +1,7 @@ +MD5 a63a54857f073520e5118b72bba9ef2e ChangeLog 944 +MD5 63b8d77876f744dcd11d9af97d0663e5 files/digest-xmlunit-1.0 59 +MD5 63b8d77876f744dcd11d9af97d0663e5 files/digest-xmlunit-1.0-r1 59 +MD5 24c48410cf4978006c39c967ac7f834c files/xmlunit-1.0-gentoo.patch 993 MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +MD5 0cd8bda83c3054fcbcf24ebe6c1de6dd xmlunit-1.0-r1.ebuild 1068 MD5 53fb32d437d27f621674c54d11157d43 xmlunit-1.0.ebuild 1175 -MD5 7cd712e7276d72c3647bbff3dd1e773c ChangeLog 783 -MD5 24c48410cf4978006c39c967ac7f834c files/xmlunit-1.0-gentoo.patch 993 -MD5 63b8d77876f744dcd11d9af97d0663e5 files/digest-xmlunit-1.0 59 diff --git a/dev-java/xmlunit/files/digest-xmlunit-1.0-r1 b/dev-java/xmlunit/files/digest-xmlunit-1.0-r1 new file mode 100644 index 000000000000..c1001b36b993 --- /dev/null +++ b/dev-java/xmlunit/files/digest-xmlunit-1.0-r1 @@ -0,0 +1 @@ +MD5 4f03206acc9ed18bc6cc23fd38b4fc82 xmlunit1.0.zip 421131 diff --git a/dev-java/xmlunit/xmlunit-1.0-r1.ebuild b/dev-java/xmlunit/xmlunit-1.0-r1.ebuild new file mode 100644 index 000000000000..c497bff22fa5 --- /dev/null +++ b/dev-java/xmlunit/xmlunit-1.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0-r1.ebuild,v 1.1 2005/11/24 03:37:22 compnerd Exp $ + +inherit eutils java-pkg + +DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML." +SRC_URI="mirror://sourceforge/${PN}/${P/-/}.zip" +HOMEPAGE="http://xmlunit.sourceforge.net/" +LICENSE="BSD" +SLOT="1" +KEYWORDS="x86 amd64 ~ppc" +IUSE="doc jikes source" +DEPEND=">=virtual/jdk-1.3 + >=app-arch/unzip-5.50-r1 + >=dev-java/ant-core-1.6 + dev-java/junit + jikes? ( >=dev-java/jikes-1.21 ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + + rm -f ${S}/lib/*.jar +} + +src_compile() { + local antflags="jar -Dclasspath=$(java-config -p junit)" + + use doc && antflags="${antflags} docs" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + + ant ${antflags} || die "failed to build" +} + +src_install() { + java-pkg_dojar lib/${PN}.jar + + dodoc README.txt + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/java/* +} |