diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-04-07 12:12:11 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-04-07 12:12:11 +0000 |
commit | 4011fc8f075433578d0de8b7c1266ca4cfc71de2 (patch) | |
tree | 6930edb1c4412c0429e672d765306998e2563f2d /dev-java/saxpath | |
parent | Mark stable on ppc wrt bug #172456. (diff) | |
download | gentoo-2-4011fc8f075433578d0de8b7c1266ca4cfc71de2.tar.gz gentoo-2-4011fc8f075433578d0de8b7c1266ca4cfc71de2.tar.bz2 gentoo-2-4011fc8f075433578d0de8b7c1266ca4cfc71de2.zip |
Style cleanup.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/saxpath')
-rw-r--r-- | dev-java/saxpath/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/saxpath/saxpath-1.0-r2.ebuild | 20 |
2 files changed, 12 insertions, 15 deletions
diff --git a/dev-java/saxpath/ChangeLog b/dev-java/saxpath/ChangeLog index e026a1607f26..b1aedd98b1c2 100644 --- a/dev-java/saxpath/ChangeLog +++ b/dev-java/saxpath/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/saxpath -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/ChangeLog,v 1.17 2006/12/09 09:24:54 flameeyes Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/ChangeLog,v 1.18 2007/04/07 12:12:11 caster Exp $ + + 07 Apr 2007; Vlastimil Babka <caster@gentoo.org> saxpath-1.0-r2.ebuild: + Style cleanup. 09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> saxpath-1.0-r2.ebuild: Add ~x86-fbsd keyword. diff --git a/dev-java/saxpath/saxpath-1.0-r2.ebuild b/dev-java/saxpath/saxpath-1.0-r2.ebuild index 0630228d14a8..e2faba684a15 100644 --- a/dev-java/saxpath/saxpath-1.0-r2.ebuild +++ b/dev-java/saxpath/saxpath-1.0-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/saxpath-1.0-r2.ebuild,v 1.3 2006/12/09 09:24:54 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/saxpath-1.0-r2.ebuild,v 1.4 2007/04/07 12:12:11 caster Exp $ +JAVA_PKG_IUSE="doc source test" inherit java-pkg-2 java-ant-2 DESCRIPTION="A Simple API for XPath." @@ -10,20 +11,16 @@ SRC_URI="mirror://sourceforge/saxpath/${P}.tar.gz" LICENSE="saxpath" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="doc source test" RDEPEND=">=virtual/jre-1.4" # doc needs ant-trax # test needs ant-junit DEPEND=">=virtual/jdk-1.4 - dev-java/ant-core doc? ( dev-java/ant-tasks ) test? ( dev-java/junit dev-java/ant-tasks - ) - source? ( app-arch/zip ) - ${RDEPEND}" + )" S=${WORKDIR}/${P}-FCS @@ -36,14 +33,11 @@ src_unpack() { mkdir src/conf cp ${FILESDIR}/MANIFEST.MF src/conf - # add a property to pass junit's classpath to javac compile-tests - use test && xml-rewrite.py -f build.xml --change -e javac -a classpath \ - -v '${gentoo.classpath}' -i 1 + use test && java-ant_rewrite-classpath } -src_compile() { - eant package $(use_doc doc javadoc) -} +EANT_BUILD_TARGET="package" +EANT_DOC_TARGET="doc javadoc" src_test() { eant -Dgentoo.classpath="$(java-pkg_getjar --build-only junit junit.jar)" \ |