summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-09-09 07:27:38 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-09-09 07:27:38 +0000
commitd3f537a93d1ca0ec0462954a4c974275018b3ae3 (patch)
tree496e7d82454bde57bb883cdcc8e9a917c64a4469 /dev-java/junitperf
parentversion bump (diff)
downloadgentoo-2-d3f537a93d1ca0ec0462954a4c974275018b3ae3.tar.gz
gentoo-2-d3f537a93d1ca0ec0462954a4c974275018b3ae3.tar.bz2
gentoo-2-d3f537a93d1ca0ec0462954a4c974275018b3ae3.zip
Fixed to work with JAVA_PKG_STRICT and changed src_test dependencies to use the test use flag instead of junit.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-java/junitperf')
-rw-r--r--dev-java/junitperf/ChangeLog7
-rw-r--r--dev-java/junitperf/junitperf-1.9.1-r1.ebuild19
2 files changed, 18 insertions, 8 deletions
diff --git a/dev-java/junitperf/ChangeLog b/dev-java/junitperf/ChangeLog
index dde89a572e9a..ff744bb1d6cc 100644
--- a/dev-java/junitperf/ChangeLog
+++ b/dev-java/junitperf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/junitperf
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junitperf/ChangeLog,v 1.8 2006/08/07 19:08:07 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junitperf/ChangeLog,v 1.9 2006/09/09 07:27:38 betelgeuse Exp $
+
+ 09 Sep 2006; Petteri Räty <betelgeuse@gentoo.org>
+ junitperf-1.9.1-r1.ebuild:
+ Fixed to work with JAVA_PKG_STRICT and changed src_test dependencies to use
+ the test use flag instead of junit.
07 Aug 2006; Joshua Nichols <nichoj@gentoo.org> junitperf-1.9.1-r1.ebuild:
Removed jikes in DEPEND, bug #143102.
diff --git a/dev-java/junitperf/junitperf-1.9.1-r1.ebuild b/dev-java/junitperf/junitperf-1.9.1-r1.ebuild
index 6b0b5cf98273..29a806f752f5 100644
--- a/dev-java/junitperf/junitperf-1.9.1-r1.ebuild
+++ b/dev-java/junitperf/junitperf-1.9.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junitperf/junitperf-1.9.1-r1.ebuild,v 1.2 2006/08/07 19:08:07 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junitperf/junitperf-1.9.1-r1.ebuild,v 1.3 2006/09/09 07:27:38 betelgeuse Exp $
inherit java-pkg-2 java-ant-2
@@ -10,19 +10,24 @@ HOMEPAGE="http://www.clarkware.com/software/JUnitPerf.html"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc junit source"
+IUSE="doc test source"
+
+RDEPEND=">=virtual/jre-1.3
+ dev-java/junit"
+
DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}
app-arch/unzip
dev-java/ant-core
- junit? ( dev-java/ant-tasks )
+ test? ( dev-java/ant-tasks )
source? ( app-arch/zip )"
-RDEPEND=">=virtual/jre-1.3
- dev-java/junit"
src_unpack () {
unpack ${A}
- rm ${S}/lib/*.jar
+ rm "${S}"/lib/*.jar
+ cd "${S}"/lib
+ java-pkg_jar-from junit
}
src_compile() {
@@ -30,7 +35,7 @@ src_compile() {
}
src_test() {
- eant test
+ eant -lib $(java-pkg_getjar ant-tasks ant-junit.jar) test
}
src_install() {