summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-07 16:56:01 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-07 16:56:01 +0000
commitaef8bbb19fae6364b908e7a3769edfdfbbce1631 (patch)
treed3bafa189c8fe251b52dc1d79376e94cd9e29dd8 /dev-java/xmlunit
parentNew version 0.9.5, fixes bug 146956. (diff)
downloadhistorical-aef8bbb19fae6364b908e7a3769edfdfbbce1631.tar.gz
historical-aef8bbb19fae6364b908e7a3769edfdfbbce1631.tar.bz2
historical-aef8bbb19fae6364b908e7a3769edfdfbbce1631.zip
Migrate to split-ant, fix compiling with java-strict.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java/xmlunit')
-rw-r--r--dev-java/xmlunit/ChangeLog5
-rw-r--r--dev-java/xmlunit/Manifest16
-rw-r--r--dev-java/xmlunit/xmlunit-1.0-r2.ebuild43
3 files changed, 35 insertions, 29 deletions
diff --git a/dev-java/xmlunit/ChangeLog b/dev-java/xmlunit/ChangeLog
index 39bfb885c57b..9e4d4d125266 100644
--- a/dev-java/xmlunit/ChangeLog
+++ b/dev-java/xmlunit/ChangeLog
@@ -1,6 +1,9 @@
# 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.9 2007/04/25 23:04:04 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/ChangeLog,v 1.10 2007/05/07 16:56:01 caster Exp $
+
+ 07 May 2007; Vlastimil Babka <caster@gentoo.org> xmlunit-1.0-r2.ebuild:
+ Migrate to split-ant, fix compiling with java-strict.
25 Apr 2007; Vlastimil Babka <caster@gentoo.org> -xmlunit-1.0.ebuild:
Remove unused version.
diff --git a/dev-java/xmlunit/Manifest b/dev-java/xmlunit/Manifest
index 4733450102dd..ddf77bd6fae5 100644
--- a/dev-java/xmlunit/Manifest
+++ b/dev-java/xmlunit/Manifest
@@ -11,14 +11,14 @@ EBUILD xmlunit-1.0-r1.ebuild 1250 RMD160 bed7d053046f411be74339d38f52289f7707f67
MD5 24a71de70d3801b3df21fe0af5a80856 xmlunit-1.0-r1.ebuild 1250
RMD160 bed7d053046f411be74339d38f52289f7707f672 xmlunit-1.0-r1.ebuild 1250
SHA256 db1c831b3c26f4d537f42f2c6e089e7930333a69b68c581d8aff762fb9236ca2 xmlunit-1.0-r1.ebuild 1250
-EBUILD xmlunit-1.0-r2.ebuild 1491 RMD160 503c0fce484ad96c8a9ad545b54e5955ec7a2c4b SHA1 0da7602c9a75ede013ac1457cd61d99d52e6662c SHA256 f6fbf1663283dcc4986dd0fd12fe62eabab45dd04f56b9b5ea56c6225244674e
-MD5 c37ed8ddc9216df31b19572796bb68c2 xmlunit-1.0-r2.ebuild 1491
-RMD160 503c0fce484ad96c8a9ad545b54e5955ec7a2c4b xmlunit-1.0-r2.ebuild 1491
-SHA256 f6fbf1663283dcc4986dd0fd12fe62eabab45dd04f56b9b5ea56c6225244674e xmlunit-1.0-r2.ebuild 1491
-MISC ChangeLog 1437 RMD160 05191d9b3a04ed7c2934f21f85f5b91b30041685 SHA1 115b5acd9ba57cfb3a1fe2dc07f61222f932b31f SHA256 0e2668279f06ea5faa872dc01feafcc8eca2e2386a0a28de39fbeba3f5ac9f66
-MD5 aa7725032f99d0b5a8174bd5056ff577 ChangeLog 1437
-RMD160 05191d9b3a04ed7c2934f21f85f5b91b30041685 ChangeLog 1437
-SHA256 0e2668279f06ea5faa872dc01feafcc8eca2e2386a0a28de39fbeba3f5ac9f66 ChangeLog 1437
+EBUILD xmlunit-1.0-r2.ebuild 1524 RMD160 debb9017a8e2c3321c19e78bb4df5ce67065a4fc SHA1 597e7abdbfbfc0de8d0f82b8873c798aa82fffac SHA256 68cfc4005abb51e9f8b340c3e9e7dc910bc73fe7744be5868f0802a19df59324
+MD5 4504dcdfc538de0de2ae1ddbe3a8a9f2 xmlunit-1.0-r2.ebuild 1524
+RMD160 debb9017a8e2c3321c19e78bb4df5ce67065a4fc xmlunit-1.0-r2.ebuild 1524
+SHA256 68cfc4005abb51e9f8b340c3e9e7dc910bc73fe7744be5868f0802a19df59324 xmlunit-1.0-r2.ebuild 1524
+MISC ChangeLog 1569 RMD160 96ad9e71e3f8cc459c5b87cbc1db287bbc050cbf SHA1 7049127e327e13b772c778927839e09648e4ba94 SHA256 4b6b7a9a9eab659934c171d6f83946d126cc73f7943a85939934229dac49aaa4
+MD5 07132dcdcf6a7ef01bc1b45a3c9d1cd1 ChangeLog 1569
+RMD160 96ad9e71e3f8cc459c5b87cbc1db287bbc050cbf ChangeLog 1569
+SHA256 4b6b7a9a9eab659934c171d6f83946d126cc73f7943a85939934229dac49aaa4 ChangeLog 1569
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
diff --git a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild b/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
index 1830457b84b6..0f301ce780b7 100644
--- a/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
+++ b/dev-java/xmlunit/xmlunit-1.0-r2.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2007 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.1 2007/02/09 23:27:50 fordfrog Exp $
-
-JAVA_PKG_IUSE="doc source"
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlunit/xmlunit-1.0-r2.ebuild,v 1.2 2007/05/07 16:56:01 caster Exp $
+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."
@@ -12,42 +11,46 @@ HOMEPAGE="http://xmlunit.sourceforge.net/"
LICENSE="BSD"
SLOT="1"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="test"
+IUSE=""
# We depend on jdk-1.4 as tests fail with jdk > 1.4
# see http://sourceforge.net/tracker/index.php?func=detail&aid=1614984&group_id=23187&atid=377768
# Also docs cannot be built with jdk > 1.5
+CDEPEND="=dev-java/junit-3*"
DEPEND="=virtual/jdk-1.4*
- >=app-arch/unzip-5.50-r1
+ app-arch/unzip
test? (
- >=dev-java/ant-1.6
- =dev-java/junit-3.8*
- dev-java/xalan
+ dev-java/ant-junit
+ dev-java/ant-trax
)
- !test? ( >=dev-java/ant-core-1.6 )
- source? ( app-arch/zip )"
-RDEPEND="=virtual/jre-1.4*"
-EANT_BUILD_TARGET="jar"
-EANT_DOC_TARGET="docs"
+ ${CDEPEND}"
+RDEPEND="=virtual/jre-1.4*
+ ${CDEPEND}"
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PN}-${PVR}-build.xml.patch
- rm -f ${S}/lib/*.jar
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-${PVR}-build.xml.patch"
+ rm -v ${S}/lib/*.jar || die
+
+ java-ant_rewrite-classpath
}
+EANT_DOC_TARGET="docs"
+EANT_GENTOO_CLASSPATH="junit"
+
src_test() {
- eant test
+ ANT_TASKS="ant-junit ant-trax" eant test
}
src_install() {
- java-pkg_newjar lib/${PN}${PV}.jar ${PN}.jar
+ java-pkg_newjar lib/${PN}${PV}.jar
dodoc README.txt
use doc && java-pkg_dojavadoc doc
- use source && java-pkg_dosrc src/java/*
+ use source && java-pkg_dosrc src/java/org
}
pkg_postinst() {