diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2010-01-11 22:04:16 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2010-01-11 22:04:16 +0000 |
commit | 353326995e3e6dd80b05f1b81c70ec7ba10474d0 (patch) | |
tree | 8475ebfa2489653e13dfa4b402ca0e2aba74b367 /dev-java/commons-betwixt/commons-betwixt-0.8.ebuild | |
parent | stable ppc64, bug 289327 (diff) | |
download | gentoo-2-353326995e3e6dd80b05f1b81c70ec7ba10474d0.tar.gz gentoo-2-353326995e3e6dd80b05f1b81c70ec7ba10474d0.tar.bz2 gentoo-2-353326995e3e6dd80b05f1b81c70ec7ba10474d0.zip |
Add patch to fix test suite. Thanks to andreas.schuerch@nativenet.ch for pointing out the upstream commit. Reported in bug #254325.
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'dev-java/commons-betwixt/commons-betwixt-0.8.ebuild')
-rw-r--r-- | dev-java/commons-betwixt/commons-betwixt-0.8.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild b/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild index 39ffcc0e871d..748be30214c5 100644 --- a/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild +++ b/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild,v 1.4 2009/03/18 14:59:06 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild,v 1.5 2010/01/11 22:04:15 betelgeuse Exp $ -EAPI=1 +EAPI=2 JAVA_PKG_IUSE="doc test source" inherit java-pkg-2 eutils java-ant-2 @@ -36,6 +36,10 @@ JAVA_ANT_IGNORE_SYSTEM_CLASSES="true" EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections,commons-digester,commons-logging" EANT_BUILD_TARGET="init jar" +java_prepare() { + epatch "${FILESDIR}/${PN}-0.8-test-dtd.patch" +} + src_test() { java-pkg_jar-from --into target/lib xerces-2,junit ANT_TASKS="ant-junit" eant test -DJunit.present=true |