Gentoo Archives: gentoo-commits

From: "Johann Schmitz (ercpe)" <ercpe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/commons-jexl: commons-jexl-2.1.1.ebuild ChangeLog
Date: Sun, 24 Nov 2013 14:46:53
Message-Id: 20131124144646.5E7912004B@flycatcher.gentoo.org
1 ercpe 13/11/24 14:46:46
2
3 Modified: ChangeLog
4 Added: commons-jexl-2.1.1.ebuild
5 Log:
6 Version bump of commons-jexl to 2.1.1 (wrt #480432).
7 Dependency of picard (#491816) et al.
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
10
11 Revision Changes Path
12 1.11 dev-java/commons-jexl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-jexl/ChangeLog?rev=1.11&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-jexl/ChangeLog?rev=1.11&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-jexl/ChangeLog?r1=1.10&r2=1.11
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v
21 retrieving revision 1.10
22 retrieving revision 1.11
23 diff -u -r1.10 -r1.11
24 --- ChangeLog 19 Dec 2011 12:22:54 -0000 1.10
25 +++ ChangeLog 24 Nov 2013 14:46:46 -0000 1.11
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-java/commons-jexl
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.10 2011/12/19 12:22:54 sera Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/ChangeLog,v 1.11 2013/11/24 14:46:46 ercpe Exp $
32 +
33 +*commons-jexl-2.1.1 (24 Nov 2013)
34 +
35 + 24 Nov 2013; Johann Schmitz <ercpe@g.o> +commons-jexl-2.1.1.ebuild,
36 + +files/2.1.1-build.xml:
37 + Version bump of commons-jexl to 2.1.1 (wrt #480432). Dependency of picard
38 + (#491816) et al.
39
40 19 Dec 2011; Ralph Sennhauser <sera@g.o> commons-jexl-1.1.ebuild:
41 Fix homepage wrt #202445. Fix unquoted variables to please repoman.
42 @@ -45,4 +52,3 @@
43 +commons-jexl-1.0.ebuild:
44 Initial import. Ebuild based on the contribution by Vibhav Garg
45 <vibhavgarg@×××××.com>. Fixes #70671
46 -
47
48
49
50 1.1 dev-java/commons-jexl/commons-jexl-2.1.1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: commons-jexl-2.1.1.ebuild
56 ===================================================================
57 # Copyright 1999-2013 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jexl/commons-jexl-2.1.1.ebuild,v 1.1 2013/11/24 14:46:46 ercpe Exp $
60
61 EAPI="5"
62
63 JAVA_PKG_IUSE="doc source test"
64
65 inherit java-pkg-2 java-ant-2
66
67 DESCRIPTION="Expression language engine, can be embedded in applications and frameworks."
68 HOMEPAGE="http://commons.apache.org/jexl/"
69 SRC_URI="mirror://apache/commons/jexl/source/${P}-src.tar.gz"
70
71 CDEPEND="dev-java/commons-logging:0"
72
73 RDEPEND=">=virtual/jre-1.5
74 ${CDEPEND}"
75
76 DEPEND=">=virtual/jdk-1.5
77 >=dev-java/javacc-5
78 test? ( dev-java/ant-junit:0 )
79 ${CDEPEND}"
80
81 LICENSE="Apache-2.0"
82 SLOT="2"
83 KEYWORDS="~amd64 ~x86"
84
85 S="${WORKDIR}/${P}-src"
86
87 JAVA_ANT_REWRITE_CLASSPATH="true"
88 EANT_GENTOO_CLASSPATH="commons-logging"
89
90 java_prepare() {
91 cp "${FILESDIR}"/${PV}-build.xml build.xml || die
92
93 # these two calls is what the "jjtree-javacc" goal in the pom.xml does
94 jjtree -OUTPUT_DIRECTORY="${S}/src/main/java/org/apache/commons/jexl2/parser/" \
95 src/main/java/org/apache/commons/jexl2/parser/Parser.jjt \
96 || die "Code generation via jjtree failed"
97 javacc -OUTPUT_DIRECTORY="${S}/src/main/java/org/apache/commons/jexl2/parser/" \
98 src/main/java/org/apache/commons/jexl2/parser/Parser.jj \
99 || die "Parser.java code generation via javacc failed"
100 }
101
102 src_install() {
103 java-pkg_dojar target/${PN}.jar
104
105 dodoc RELEASE-NOTES.txt NOTICE.txt
106
107 use doc && java-pkg_dojavadoc "${S}"/target/site/apidocs
108 use source && java-pkg_dosrc "${S}"/src/main/java/*
109 }
110
111 src_test() {
112 java-pkg-2_src_test
113 }