1 |
elvanor 08/03/02 14:10:41 |
2 |
|
3 |
Modified: groovy-1.0-r1.ebuild ChangeLog |
4 |
Added: groovy-1.5.4.ebuild |
5 |
Log: |
6 |
Grovy 1.5.4 version bump |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-java/groovy/groovy-1.0-r1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/groovy-1.0-r1.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/groovy-1.0-r1.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/groovy-1.0-r1.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: groovy-1.0-r1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.0-r1.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- groovy-1.0-r1.ebuild 4 Jul 2007 22:14:28 -0000 1.4 |
23 |
+++ groovy-1.0-r1.ebuild 2 Mar 2008 14:10:41 -0000 1.5 |
24 |
@@ -1,6 +1,6 @@ |
25 |
-# Copyright 1999-2007 Gentoo Foundation |
26 |
+# Copyright 1999-2008 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.0-r1.ebuild,v 1.4 2007/07/04 22:14:28 betelgeuse Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.0-r1.ebuild,v 1.5 2008/03/02 14:10:41 elvanor Exp $ |
30 |
|
31 |
inherit versionator java-pkg-2 java-ant-2 |
32 |
|
33 |
@@ -84,7 +84,7 @@ |
34 |
# be in files/ |
35 |
# - remove all the junit-present stuff |
36 |
# - remove test dependency from jar target |
37 |
- cp ${FILESDIR}/build.xml-${PV} ${S}/build.xml || die "Failed to update build.xml" |
38 |
+ cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "Failed to update build.xml" |
39 |
|
40 |
cd src/main |
41 |
# This won't compile without an incestuous relationship with radeox. |
42 |
|
43 |
|
44 |
|
45 |
1.26 dev-java/groovy/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/ChangeLog?rev=1.26&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/ChangeLog?rev=1.26&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/ChangeLog?r1=1.25&r2=1.26 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/groovy/ChangeLog,v |
54 |
retrieving revision 1.25 |
55 |
retrieving revision 1.26 |
56 |
diff -u -r1.25 -r1.26 |
57 |
--- ChangeLog 4 Jul 2007 22:14:19 -0000 1.25 |
58 |
+++ ChangeLog 2 Mar 2008 14:10:41 -0000 1.26 |
59 |
@@ -1,6 +1,13 @@ |
60 |
# ChangeLog for dev-java/groovy |
61 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/ChangeLog,v 1.25 2007/07/04 22:14:19 betelgeuse Exp $ |
63 |
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
64 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/ChangeLog,v 1.26 2008/03/02 14:10:41 elvanor Exp $ |
65 |
+ |
66 |
+*groovy-1.5.4 (02 Mar 2008) |
67 |
+ |
68 |
+ 02 Mar 2008; Jean-Noël Rivasseau <elvanor@g.o> |
69 |
+ +files/groovy-build.xml.patch, groovy-1.0-r1.ebuild, +groovy-1.5.4.ebuild: |
70 |
+ Version bump to 1.5.4. Tests now compile and run with JDK 1.6, some fail |
71 |
+ though. |
72 |
|
73 |
04 Jul 2007; Petteri Räty <betelgeuse@g.o> -groovy-1.0.ebuild: |
74 |
Remove old revision. |
75 |
|
76 |
|
77 |
|
78 |
1.1 dev-java/groovy/groovy-1.5.4.ebuild |
79 |
|
80 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/groovy-1.5.4.ebuild?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/groovy-1.5.4.ebuild?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: groovy-1.5.4.ebuild |
84 |
=================================================================== |
85 |
# Copyright 1999-2008 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.5.4.ebuild,v 1.1 2008/03/02 14:10:41 elvanor Exp $ |
88 |
|
89 |
# Groovy's build system is Ant based, but they use Maven for fetching the dependencies. |
90 |
# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild. |
91 |
# |
92 |
# Note that in the previous 1.0 ebuild, we used the Ant Maven plugin. We don't do that anymore. |
93 |
|
94 |
# We currently do not build the embeddable jar (which is created using JarJar). Maybe we should... |
95 |
# We also don't use automatic build rewriting as there seems to be already some level of support |
96 |
# in the upstream build system |
97 |
# |
98 |
|
99 |
# TODO: We should implement the doc USE flag properly |
100 |
# |
101 |
|
102 |
inherit versionator java-pkg-2 java-ant-2 |
103 |
|
104 |
EAPI="1" |
105 |
JAVA_PKG_IUSE="doc" |
106 |
MY_PV=${PV/_rc/-RC-} |
107 |
MY_P="${PN}-${MY_PV}" |
108 |
|
109 |
DESCRIPTION="Groovy is a high-level dynamic language for the JVM" |
110 |
HOMEPAGE="http://groovy.codehaus.org/" |
111 |
|
112 |
SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip" |
113 |
LICENSE="codehaus-groovy" |
114 |
SLOT="1" |
115 |
KEYWORDS="~amd64 ~ppc ~x86" |
116 |
IUSE="" |
117 |
|
118 |
CDEPEND=" |
119 |
dev-java/asm:2.2 |
120 |
dev-java/antlr:0 |
121 |
>=dev-java/xstream-1.1.1 |
122 |
>=dev-java/junit-3.8.2:0 |
123 |
>=dev-java/jline-0.9.91 |
124 |
>=dev-java/ant-core-1.7.0 |
125 |
>=dev-java/commons-cli-1.0 |
126 |
>=dev-java/mockobjects-0.09 |
127 |
~dev-java/servletapi-2.4 |
128 |
=dev-java/mx4j-core-3.0* |
129 |
>=dev-java/bsf-2.4 |
130 |
|
131 |
test? ( |
132 |
dev-java/jmock |
133 |
dev-java/xmlunit |
134 |
dev-db/hsqldb |
135 |
dev-java/ant-junit |
136 |
) |
137 |
|
138 |
dev-java/qdox |
139 |
" |
140 |
|
141 |
RDEPEND=">=virtual/jre-1.4 |
142 |
${CDEPEND}" |
143 |
|
144 |
DEPEND=">=virtual/jdk-1.4 |
145 |
dev-java/ant-antlr |
146 |
${CDEPEND}" |
147 |
|
148 |
S="${WORKDIR}/${MY_P}" |
149 |
|
150 |
JAVA_PKG_BSFIX="" |
151 |
|
152 |
src_unpack() { |
153 |
unpack ${A} |
154 |
cd "${S}" |
155 |
|
156 |
mkdir -p target/lib && cd target/lib |
157 |
|
158 |
mkdir compile && mkdir runtime && mkdir tools |
159 |
|
160 |
cd compile |
161 |
|
162 |
java-pkg_jar-from commons-cli-1 |
163 |
java-pkg_jar-from ant-core |
164 |
java-pkg_jar-from antlr |
165 |
java-pkg_jar-from asm-2.2 |
166 |
java-pkg_jar-from xstream |
167 |
java-pkg_jar-from mockobjects |
168 |
java-pkg_jar-from jline |
169 |
java-pkg_jar-from junit |
170 |
java-pkg_jar-from servletapi-2.4 |
171 |
java-pkg_jar-from bsf-2.3 |
172 |
|
173 |
# Following is for documentation only |
174 |
|
175 |
java-pkg_jar-from qdox-1.6 |
176 |
|
177 |
cd "${S}" |
178 |
|
179 |
epatch "${FILESDIR}/${PN}-build.xml.patch" |
180 |
|
181 |
rm -rf bootstrap |
182 |
rm -rf security |
183 |
} |
184 |
|
185 |
src_compile() { |
186 |
ANT_TASKS="ant-antlr" |
187 |
|
188 |
eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \ |
189 |
-DtoolsLibDirectory="target/lib/compile" createJars |
190 |
|
191 |
# This works |
192 |
|
193 |
#ANT_TASKS="none" eant -Dno.grammars -DruntimeLibDirectory="target/lib/compile" \ |
194 |
# -DtoolsLibDirectory="target/lib/compile" doc |
195 |
#use doc && eant doc |
196 |
} |
197 |
|
198 |
src_test() { |
199 |
cd "${S}/target/lib" && mkdir test && cd compile |
200 |
|
201 |
java-pkg_jar-from --build-only jmock-1.0 |
202 |
java-pkg_jar-from --build-only xmlunit-1 |
203 |
java-pkg_jar-from hsqldb |
204 |
java-pkg_jar-from ant-junit |
205 |
|
206 |
#java-pkg_jar-from junit |
207 |
#java-pkg_jar-from ant-core |
208 |
|
209 |
cd "${S}" |
210 |
ANT_TASKS="ant-junit ant-antlr ant-trax" eant test -DruntimeLibDirectory="target/lib/compile" \ |
211 |
-DtestLibDirectory="target/lib/compile" |
212 |
} |
213 |
|
214 |
src_install() { |
215 |
java-pkg_newjar "target/dist/${P}.jar" |
216 |
java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler |
217 |
java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain |
218 |
java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell |
219 |
java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console |
220 |
|
221 |
# java-pkg_dolauncher "grok" --main org.codehaus.groovy.tools.Grok Grok does not exist anymore |
222 |
} |
223 |
|
224 |
|
225 |
|
226 |
-- |
227 |
gentoo-commits@l.g.o mailing list |