summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2012-02-18 22:24:23 +0000
committerVlastimil Babka <caster@gentoo.org>2012-02-18 22:24:23 +0000
commit79d0a4c2f8d5b82794f372120e625a789377c619 (patch)
tree3b0cc8a766735018656710a7f5cf9442c10b2c3b /dev-java/ant-junit4
parentAdd arm, hppa and ppc KEYWORDS (#397197) (diff)
downloadhistorical-79d0a4c2f8d5b82794f372120e625a789377c619.tar.gz
historical-79d0a4c2f8d5b82794f372120e625a789377c619.tar.bz2
historical-79d0a4c2f8d5b82794f372120e625a789377c619.zip
Version bump, bug #351850.
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'dev-java/ant-junit4')
-rw-r--r--dev-java/ant-junit4/ChangeLog7
-rw-r--r--dev-java/ant-junit4/ant-junit4-1.8.2.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-java/ant-junit4/ChangeLog b/dev-java/ant-junit4/ChangeLog
index 2fd6d1008d9a..26c07b5cbaf2 100644
--- a/dev-java/ant-junit4/ChangeLog
+++ b/dev-java/ant-junit4/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/ant-junit4
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ChangeLog,v 1.15 2012/02/16 17:59:12 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ChangeLog,v 1.16 2012/02/18 22:24:23 caster Exp $
+
+*ant-junit4-1.8.2 (18 Feb 2012)
+
+ 18 Feb 2012; Vlastimil Babka <caster@gentoo.org> +ant-junit4-1.8.2.ebuild:
+ Version bump, bug #351850.
16 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> ant-junit4-1.8.1.ebuild:
x86 stable wrt bug #396871
diff --git a/dev-java/ant-junit4/ant-junit4-1.8.2.ebuild b/dev-java/ant-junit4/ant-junit4-1.8.2.ebuild
new file mode 100644
index 000000000000..86c6506c8eb2
--- /dev/null
+++ b/dev-java/ant-junit4/ant-junit4-1.8.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ant-junit4-1.8.2.ebuild,v 1.1 2012/02/18 22:24:23 caster Exp $
+
+EAPI="4"
+
+ANT_TASK_JDKVER=1.5
+ANT_TASK_JREVER=1.5
+ANT_TASK_DEPNAME="junit-4"
+
+inherit ant-tasks
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-java/junit:4
+ ~dev-java/ant-junit-${PV}"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ eant jar-junit4
+}
+
+src_install() {
+ # no registration as ant-task, would be loaded together with ant-junit
+ java-pkg_dojar build/lib/ant-junit4.jar
+
+ # As we dont't want to depend on and-junit in package.env, because it depends
+ # on junit:0. Instead, we "steal" its jar and record it to our package.env as
+ # if it belongs to this package's classpath
+ java-pkg_getjar --build-only ant-junit ant-junit.jar
+ java-pkg_regjar $(java-pkg_getjar --build-only ant-junit ant-junit.jar)
+}