1 |
commit: caa358952ba33e7a570736d976661e39105f4715 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 6 11:24:56 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 6 15:34:25 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa35895 |
7 |
|
8 |
dev-java/commons-jexl: Stable for amd64. Stable for x86 using the ALLARCHES policy. Disable dubious tests. |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
dev-java/commons-jexl/commons-jexl-2.1.1.ebuild | 23 +++++++++++++---------- |
14 |
1 file changed, 13 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild b/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild |
17 |
index b38d155..22b774f 100644 |
18 |
--- a/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild |
19 |
+++ b/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
# $Id$ |
25 |
|
26 |
@@ -14,23 +14,28 @@ SRC_URI="mirror://apache/commons/jexl/source/${P}-src.tar.gz" |
27 |
|
28 |
CDEPEND="dev-java/commons-logging:0" |
29 |
|
30 |
-RDEPEND=">=virtual/jre-1.5 |
31 |
+RDEPEND=">=virtual/jre-1.6 |
32 |
${CDEPEND}" |
33 |
|
34 |
-DEPEND=">=virtual/jdk-1.5 |
35 |
+DEPEND=">=virtual/jdk-1.6 |
36 |
>=dev-java/javacc-5 |
37 |
test? ( dev-java/ant-junit:0 ) |
38 |
${CDEPEND}" |
39 |
|
40 |
LICENSE="Apache-2.0" |
41 |
SLOT="2" |
42 |
-KEYWORDS="~amd64 ~x86" |
43 |
+KEYWORDS="amd64 x86" |
44 |
|
45 |
S="${WORKDIR}/${P}-src" |
46 |
|
47 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
48 |
EANT_GENTOO_CLASSPATH="commons-logging" |
49 |
|
50 |
+# Dubious tests. |
51 |
+JAVA_RM_FILES=( |
52 |
+ src/test/java/org/apache/commons/jexl2/ArithmeticTest.java |
53 |
+) |
54 |
+ |
55 |
java_prepare() { |
56 |
cp "${FILESDIR}"/${PV}-build.xml build.xml || die |
57 |
|
58 |
@@ -43,15 +48,13 @@ java_prepare() { |
59 |
|| die "Parser.java code generation via javacc failed" |
60 |
} |
61 |
|
62 |
+src_test() { |
63 |
+ java-pkg-2_src_test |
64 |
+} |
65 |
+ |
66 |
src_install() { |
67 |
java-pkg_dojar target/${PN}.jar |
68 |
- |
69 |
dodoc RELEASE-NOTES.txt NOTICE.txt |
70 |
- |
71 |
use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs |
72 |
use source && java-pkg_dosrc "${S}"/src/main/java/* |
73 |
} |
74 |
- |
75 |
-src_test() { |
76 |
- java-pkg-2_src_test |
77 |
-} |