summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2009-10-27 11:18:26 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2009-10-27 11:18:26 +0000
commit2063d42d55b18747bc16de96d3520df2d4d1b17b (patch)
treefcec871bc468317b494a9e19c85a9d5e4419f04d /dev-java/xmlunit
parentversion bump, by Arne Babenhauserheide <arne_bab@web.de>, bug #289908 (diff)
downloadgentoo-2-2063d42d55b18747bc16de96d3520df2d4d1b17b.tar.gz
gentoo-2-2063d42d55b18747bc16de96d3520df2d4d1b17b.tar.bz2
gentoo-2-2063d42d55b18747bc16de96d3520df2d4d1b17b.zip
xmlunit-1.3 version bump.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-java/xmlunit')
-rw-r--r--dev-java/xmlunit/ChangeLog10
-rw-r--r--dev-java/xmlunit/xmlunit-1.0-r2.ebuild6
-rw-r--r--dev-java/xmlunit/xmlunit-1.3.ebuild58
3 files changed, 69 insertions, 5 deletions
diff --git a/dev-java/xmlunit/ChangeLog b/dev-java/xmlunit/ChangeLog
index 4cfd5503e39e..50ba9c47b280 100644
--- a/dev-java/xmlunit/ChangeLog
+++ b/dev-java/xmlunit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/xmlunit
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.15 2007/08/29 14:06:08 betelgeuse Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.16 2009/10/27 11:18:26 elvanor Exp $
+
+*xmlunit-1.3 (27 Oct 2009)
+
+ 27 Oct 2009; Jean-Noël Rivasseau <elvanor@gentoo.org>
+ xmlunit-1.0-r2.ebuild, +xmlunit-1.3.ebuild:
+ Bump to version 1.3.
29 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> -xmlunit-1.0-r1.ebuild:
Remove generation 1 ebuild.
diff --git a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild b/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
index 271e9155590b..d72f02180624 100644
--- a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
+++ b/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0-r2.ebuild,v 1.6 2007/08/15 21:08:15 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0-r2.ebuild,v 1.7 2009/10/27 11:18:26 elvanor Exp $
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
@@ -35,7 +35,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${PN}-${PVR}-build.xml.patch"
- rm -v ${S}/lib/*.jar || die
+ rm -v "${S}/lib/"*.jar || die
java-ant_rewrite-classpath
}
diff --git a/dev-java/xmlunit/xmlunit-1.3.ebuild b/dev-java/xmlunit/xmlunit-1.3.ebuild
new file mode 100644
index 000000000000..1d68acada2f1
--- /dev/null
+++ b/dev-java/xmlunit/xmlunit-1.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.3.ebuild,v 1.1 2009/10/27 11:18:26 elvanor Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source test"
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="XMLUnit extends JUnit and NUnit to enable unit testing of XML."
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://xmlunit.sourceforge.net/"
+LICENSE="BSD"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RESTRICT="test"
+
+CDEPEND="=dev-java/junit-3.8*"
+DEPEND="
+ app-arch/unzip
+ >=virtual/jdk-1.4
+ doc? ( app-text/docbook-xsl-stylesheets )
+ test? (
+ dev-java/ant-junit
+ dev-java/ant-trax
+ )
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_DOC_TARGET="users-guide-html javadocs"
+EANT_GENTOO_CLASSPATH="junit"
+EANT_ANT_TASKS="ant-trax"
+EANT_EXTRA_ARGS="-Ddb5.xsl=/usr/share/sgml/docbook/xsl-stylesheets"
+
+# There is a test not passing, see
+# https://sourceforge.net/tracker/index.php?func=detail&aid=1875554&group_id=23187&atid=377768
+
+src_test() {
+ if use test; then
+ ANT_TASKS="ant-junit ant-trax" eant test
+ else
+ echo "USE=test not enabled, skipping tests."
+ fi
+}
+
+src_install() {
+ java-pkg_newjar "build/lib/${P}.jar"
+
+ dodoc README.txt
+ if use doc ; then
+ java-pkg_dojavadoc build/doc/api
+ dohtml build/doc/userguide/html/*
+ fi
+ use source && java-pkg_dosrc src/java/org
+}