Gentoo Archives: gentoo-commits

From: "Jean-Noel Rivasseau (elvanor)" <elvanor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/commons-cli: commons-cli-1.2.ebuild
Date: Fri, 27 Mar 2009 20:14:31
Message-Id: E1LnIRi-0001UW-8R@stork.gentoo.org
1 elvanor 09/03/27 20:14:30
2
3 Modified: commons-cli-1.2.ebuild
4 Log:
5 Used EAPI2 for commons-cli and RESTRICT="test"
6 (Portage version: 2.1.6.7/cvs/Linux i686)
7
8 Revision Changes Path
9 1.2 dev-java/commons-cli/commons-cli-1.2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild?r1=1.1&r2=1.2
14
15 Index: commons-cli-1.2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- commons-cli-1.2.ebuild 27 Mar 2009 19:54:47 -0000 1.1
22 +++ commons-cli-1.2.ebuild 27 Mar 2009 20:14:30 -0000 1.2
23 @@ -1,10 +1,11 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild,v 1.1 2009/03/27 19:54:47 elvanor Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.2.ebuild,v 1.2 2009/03/27 20:14:30 elvanor Exp $
28
29 # Upstream switched to Maven as a build system. Current build.xml file was generated by running mvn ant:ant
30 # A bit of tweaking was required unfortunately
31
32 +EAPI="2"
33 JAVA_PKG_IUSE="doc source test"
34
35 inherit java-pkg-2 java-ant-2 eutils
36 @@ -19,6 +20,9 @@
37 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
38 IUSE=""
39
40 +# Tests currently fail, upstream bug: https://issues.apache.org/jira/browse/CLI-178
41 +RESTRICT="test"
42 +
43 RDEPEND=">=virtual/jre-1.4"
44 # Blocking junit for https://bugs.gentoo.org/show_bug.cgi?id=215659
45 DEPEND=">=virtual/jdk-1.4
46 @@ -42,10 +46,7 @@
47 use source && java-pkg_dosrc src/java/org
48 }
49
50 -# Tests currently fail, upstream bug: https://issues.apache.org/jira/browse/CLI-178
51 -
52 src_test() {
53 - #ANT_TASKS="ant-junit"
54 - #eant -Djunit.present="true" test
55 - echo "Tests currently disabled."
56 + ANT_TASKS="ant-junit"
57 + eant -Djunit.present="true" test
58 }