Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/groovy/
Date: Fri, 28 Aug 2015 13:57:00
Message-Id: 1440770201.a9c055bd1f761952cea4738e3f9883a9850297df.mrueg@gentoo
1 commit: a9c055bd1f761952cea4738e3f9883a9850297df
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 13:56:41 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 13:56:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c055bd
7
8 dev-java/groovy: Remove old
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-java/groovy/Manifest | 2 -
13 dev-java/groovy/groovy-1.6.8.ebuild | 120 ---------------------------------
14 dev-java/groovy/groovy-1.7.10.ebuild | 118 ---------------------------------
15 dev-java/groovy/groovy-1.8.5.ebuild | 124 -----------------------------------
16 4 files changed, 364 deletions(-)
17
18 diff --git a/dev-java/groovy/Manifest b/dev-java/groovy/Manifest
19 index cfd4ef8..df62640 100644
20 --- a/dev-java/groovy/Manifest
21 +++ b/dev-java/groovy/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST groovy-src-1.6.8.zip 11998683 SHA256 caa83f91e154211b1fcf688fb16d97d63b552fbb9e2bb240ea82fb13f90b1c80 SHA512 9e914227f6e09041ccb8b918136ed2a0c264f96f1df3f033ab57cfbf3a9e6c62cfd365032040c5599d56e2f7b4c19ac9912effa3c4768c832d57ebaca6f05920 WHIRLPOOL 7cd6e33a768c833142d0387f4c47189aa7edb4f4a63dbd3b551815c7ea33174ecc428418293259902c8f8fdb55f473a05067827c7fb2e49cd3b5d6a65dc7312f
24 -DIST groovy-src-1.7.10.zip 12912772 SHA256 268c4504d50347e61fd83a4d04ebddbd4bf8139a4ba599de640d5537f3e4ad0c SHA512 d58cb0d135274e5e43730b517318d50d935a1b1883648318aa1c120d01181be7d3ac2796e3b68031b8d24e0fb6e9fa6fb8b1cbbfdee651a036e6000ec9be5ef1 WHIRLPOOL 992ac01f74f1fca05c4feb526d1f1a87425cd55fbc5cc39f18b999c53a54d6caf99a9353ff32dd080245ae4e7817810f9a8790a099d35566a1aa5938cfca99f3
25 DIST groovy-src-1.7.5.zip 12875363 SHA256 9864b36d681ecc4e4a8f86c8b958203f8e2c01c150a3f992f5f63df552979067 SHA512 fa0f617d1894e6fd7b30216b69dc3060154a31d28a3831e7135b18377c5bc368d193d914d2b77a7daf28498562fb96c04794c874101b23dafb4421e3a1d59404 WHIRLPOOL 478346b89661f6b57cc5740df038e8bf3ced62a84a4de1dea3da94a9519cae6eba43cf583c4a81b2f459f6409a7387c2079098b12495b9f1b669260af4efaccb
26 DIST groovy-src-1.8.5.zip 13131836 SHA256 82f1e45e5886278a4c86ed15dfd90a84b7e43848c72537a235835c7557e8f8cd SHA512 23cddae38b6d0b1b83dae7cf7ebc3fe68f7e8ddb33cd6fa421c0c3c76ca8bf5a8b3fe72cabe915901305f513a2b3269baf205a7a0dd6b1c6f751496d51e0557a WHIRLPOOL 9db6d1da9304e8000de9954faf91d26d76c15e628a25a09c1291afc2ca8b33bbe24d44d891599548df6931db632ae6cd801e83cb05fb6abf33f3282f463a4482
27
28 diff --git a/dev-java/groovy/groovy-1.6.8.ebuild b/dev-java/groovy/groovy-1.6.8.ebuild
29 deleted file mode 100644
30 index 8c8445f..0000000
31 --- a/dev-java/groovy/groovy-1.6.8.ebuild
32 +++ /dev/null
33 @@ -1,120 +0,0 @@
34 -# Copyright 1999-2014 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -# Groovy's build system is Ant based, but they use Maven for fetching the dependencies.
39 -# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild.
40 -
41 -# We currently do not build the embeddable jar (which is created using JarJar).
42 -# We could provide that via a USE flag.
43 -# We also don't use automatic build rewriting as there seems to be already some level of support
44 -# in the upstream build system
45 -
46 -# TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed
47 -# as our java-pkg_dojavadoc function does not support multiple Javadoc installations.
48 -# There is also a bug (visible when loading groovyConsole for instance) where asm-1.5 is put on the cp,
49 -# this conflicts with the 2.2 version needed by Groovy.
50 -
51 -EAPI="2"
52 -WANT_ANT_TASKS="ant-antlr"
53 -JAVA_PKG_IUSE="doc source"
54 -
55 -inherit versionator java-pkg-2 java-ant-2
56 -
57 -MY_PV=${PV/_rc/-RC-}
58 -MY_P="${PN}-${MY_PV}"
59 -
60 -DESCRIPTION="Groovy is a high-level dynamic language for the JVM"
61 -HOMEPAGE="http://groovy.codehaus.org/"
62 -
63 -SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip"
64 -LICENSE="codehaus-groovy"
65 -SLOT="0"
66 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
67 -IUSE="test"
68 -RESTRICT="test"
69 -
70 -CDEPEND="
71 - dev-java/asm:2.2
72 - dev-java/antlr:0
73 - >=dev-java/xstream-1.3
74 - >=dev-java/junit-3.8.2:0
75 - >=dev-java/jline-0.9.91
76 - >=dev-java/ant-core-1.7.0
77 - >=dev-java/commons-cli-1.2
78 - dev-java/servletapi:2.4
79 - >=dev-java/bsf-2.4
80 - java-virtuals/jmx"
81 -
82 -RDEPEND=">=virtual/jre-1.5
83 - !<dev-java/groovy-1.6.3
84 - ${CDEPEND}"
85 -
86 -DEPEND=">=virtual/jdk-1.5
87 - dev-java/ant-ivy:2
88 - doc? (
89 - dev-java/qdox
90 - )
91 - test? (
92 - dev-java/jmock
93 - dev-java/xmlunit
94 - dev-db/hsqldb
95 - dev-java/commons-logging
96 - dev-java/ant-junit
97 - dev-java/ant-trax
98 - )
99 - ${CDEPEND}"
100 -
101 -S="${WORKDIR}/${MY_P}"
102 -
103 -JAVA_PKG_BSFIX=""
104 -
105 -src_prepare() {
106 - rm -rf bootstrap
107 - # security directory is needed for tests, but they currently don't pass
108 - #rm -rf security
109 - mkdir -p target/lib && cd target/lib
110 - mkdir compile && mkdir runtime && mkdir tools
111 - cd compile
112 -
113 - java-pkg_jar-from commons-cli-1,ant-core,antlr,asm-2.2,xstream
114 - java-pkg_jar-from jline,junit,servletapi-2.4,bsf-2.3
115 - java-pkg_jar-from --virtual jmx
116 - java-pkg_jar-from --build-only ant-ivy:2
117 - use doc && java-pkg_jar-from --build-only qdox-1.6
118 -}
119 -
120 -src_compile() {
121 - eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \
122 - -DtoolsLibDirectory="target/lib/compile" -DskipFetch="true" -DskipEmbeddable="true"
123 -
124 - use doc && ANT_OPTS="-Duser.home=${T}" eant -Dno.grammars="true" -DruntimeLibDirectory="target/lib/compile" \
125 - -DtoolsLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" doc
126 -}
127 -
128 -src_test() {
129 - cd "${S}/target/lib" && mkdir test && mkdir extras && cd compile
130 -
131 - java-pkg_jar-from --build-only ant-junit,jmock-1.0,xmlunit-1,hsqldb,commons-logging,cglib-2.1
132 -
133 - cd "${S}"
134 - ANT_TASKS="ant-junit ant-antlr ant-trax" ANT_OPTS="-Duser.home=${T}" eant \
135 - -DruntimeLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" test
136 -}
137 -
138 -src_install() {
139 - java-pkg_newjar "target/dist/${PN}.jar"
140 - use doc && java-pkg_dojavadoc "target/html/groovy-jdk/"
141 -
142 - # FIXME: install those two later
143 - #
144 - #use doc && java-pkg_dojavadoc "target/html/api/"
145 - #use doc && java-pkg_dojavadoc "target/html/gapi/"
146 -
147 - use source && java-pkg_dosrc "src/main/groovy" "src/main/org"
148 - java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler
149 - java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
150 - java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
151 - java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
152 - java-pkg_dolauncher "grape" --main org.codehaus.groovy.tools.GrapeMain
153 -}
154
155 diff --git a/dev-java/groovy/groovy-1.7.10.ebuild b/dev-java/groovy/groovy-1.7.10.ebuild
156 deleted file mode 100644
157 index 16410f5..0000000
158 --- a/dev-java/groovy/groovy-1.7.10.ebuild
159 +++ /dev/null
160 @@ -1,118 +0,0 @@
161 -# Copyright 1999-2014 Gentoo Foundation
162 -# Distributed under the terms of the GNU General Public License v2
163 -# $Id$
164 -
165 -# Groovy's build system is Ant based, but they use Maven for fetching the dependencies.
166 -# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild.
167 -
168 -# We currently do not build the embeddable jar (which is created using JarJar).
169 -# We could provide that via a USE flag.
170 -# We also don't use automatic build rewriting as there seems to be already some level of support
171 -# in the upstream build system
172 -
173 -# TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed
174 -# as our java-pkg_dojavadoc function does not support multiple Javadoc installations.
175 -
176 -EAPI="3"
177 -WANT_ANT_TASKS="ant-antlr"
178 -JAVA_PKG_IUSE="doc source"
179 -
180 -inherit versionator java-pkg-2 java-ant-2
181 -
182 -MY_PV=${PV/_rc/-RC-}
183 -MY_P="${PN}-${MY_PV}"
184 -
185 -DESCRIPTION="Groovy is a high-level dynamic language for the JVM"
186 -HOMEPAGE="http://groovy.codehaus.org/"
187 -
188 -SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip"
189 -LICENSE="codehaus-groovy"
190 -SLOT="0"
191 -KEYWORDS="~x86 ~x86-linux"
192 -IUSE="test"
193 -RESTRICT="test"
194 -
195 -CDEPEND=">=dev-java/asm-3.2
196 - >=dev-java/ant-core-1.8.0
197 - >=dev-java/junit-4.6
198 - dev-java/antlr:0
199 - dev-java/xstream
200 - dev-java/jline
201 - dev-java/commons-cli
202 - dev-java/jansi
203 - dev-java/servletapi:2.4
204 - >=dev-java/bsf-2.4
205 - java-virtuals/jmx"
206 -
207 -RDEPEND=">=virtual/jre-1.5
208 - !<dev-java/groovy-1.6.3
209 - ${CDEPEND}"
210 -
211 -DEPEND=">=virtual/jdk-1.5
212 - dev-java/ant-ivy:2
213 - doc? (
214 - >=dev-java/qdox-1.12
215 - )
216 - test? (
217 - dev-java/jmock
218 - dev-java/xmlunit
219 - dev-db/hsqldb
220 - dev-java/commons-logging
221 - dev-java/ant-junit
222 - dev-java/ant-trax
223 - )
224 - ${CDEPEND}"
225 -
226 -S="${WORKDIR}/${MY_P}"
227 -
228 -JAVA_PKG_BSFIX=""
229 -
230 -src_prepare() {
231 - rm -rf bootstrap
232 - # security directory is needed for tests, but they currently don't pass
233 - #rm -rf security
234 - mkdir -p target/lib && cd target/lib
235 - mkdir compile && mkdir runtime && mkdir tools
236 - cd compile
237 -
238 - java-pkg_jar-from commons-cli-1,ant-core,antlr,asm-3,xstream,jansi
239 - java-pkg_jar-from jline,junit,servletapi-2.4,bsf-2.3
240 - java-pkg_jar-from --virtual jmx
241 - java-pkg_jar-from --build-only ant-ivy:2
242 - use doc && java-pkg_jar-from --build-only qdox-1.12,ant-antlr
243 -}
244 -
245 -src_compile() {
246 - eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \
247 - -DtoolsLibDirectory="target/lib/compile" -DskipFetch="true" -DskipEmbeddable="true"
248 -
249 - use doc && ANT_TASKS="ant-antlr" ANT_OPTS="-Duser.home=${T}" eant -Dno.grammars="true" -DruntimeLibDirectory="target/lib/compile" \
250 - -DtoolsLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" doc
251 -}
252 -
253 -src_test() {
254 - cd "${S}/target/lib" && mkdir test && mkdir extras && cd compile
255 -
256 - java-pkg_jar-from --build-only ant-junit,jmock-1.0,xmlunit-1,hsqldb,commons-logging,cglib-2.1
257 -
258 - cd "${S}"
259 - ANT_TASKS="ant-junit ant-antlr ant-trax" ANT_OPTS="-Duser.home=${T}" eant \
260 - -DruntimeLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" test
261 -}
262 -
263 -src_install() {
264 - java-pkg_newjar "target/dist/${PN}.jar"
265 - use doc && java-pkg_dojavadoc "target/html/groovy-jdk/"
266 -
267 - # FIXME: install those two later
268 - #
269 - #use doc && java-pkg_dojavadoc "target/html/api/"
270 - #use doc && java-pkg_dojavadoc "target/html/gapi/"
271 -
272 - use source && java-pkg_dosrc "src/main/groovy" "src/main/org"
273 - java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler
274 - java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
275 - java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
276 - java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
277 - java-pkg_dolauncher "grape" --main org.codehaus.groovy.tools.GrapeMain
278 -}
279
280 diff --git a/dev-java/groovy/groovy-1.8.5.ebuild b/dev-java/groovy/groovy-1.8.5.ebuild
281 deleted file mode 100644
282 index 3695b01..0000000
283 --- a/dev-java/groovy/groovy-1.8.5.ebuild
284 +++ /dev/null
285 @@ -1,124 +0,0 @@
286 -# Copyright 1999-2014 Gentoo Foundation
287 -# Distributed under the terms of the GNU General Public License v2
288 -# $Id$
289 -
290 -# Groovy's build system is Ant based, but they use Maven for fetching the dependencies.
291 -# We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild.
292 -
293 -# We currently do not build the embeddable jar (which is created using JarJar).
294 -# We could provide that via a USE flag.
295 -# We also don't use automatic build rewriting as there seems to be already some level of support
296 -# in the upstream build system
297 -
298 -# TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed
299 -# as our java-pkg_dojavadoc function does not support multiple Javadoc installations.
300 -
301 -EAPI="3"
302 -WANT_ANT_TASKS="ant-antlr"
303 -JAVA_PKG_IUSE="doc source"
304 -
305 -inherit base versionator java-pkg-2 java-ant-2
306 -
307 -MY_PV=${PV/_rc/-RC-}
308 -MY_P="${PN}-${MY_PV}"
309 -
310 -DESCRIPTION="Groovy is a high-level dynamic language for the JVM"
311 -HOMEPAGE="http://groovy.codehaus.org/"
312 -
313 -SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip"
314 -LICENSE="codehaus-groovy"
315 -SLOT="0"
316 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
317 -IUSE="test"
318 -RESTRICT="test"
319 -
320 -CDEPEND=">=dev-java/asm-3.2
321 - >=dev-java/ant-core-1.8.0
322 - >=dev-java/junit-4.6
323 - dev-java/antlr:0
324 - dev-java/xstream
325 - dev-java/jline
326 - dev-java/commons-cli
327 - dev-java/jansi
328 - java-virtuals/servlet-api:2.4
329 - >=dev-java/bsf-2.4
330 - java-virtuals/jmx"
331 -
332 -RDEPEND=">=virtual/jre-1.5
333 - ${CDEPEND}"
334 -
335 -DEPEND=">=virtual/jdk-1.5
336 - dev-java/ant-ivy:2
337 - doc? (
338 - dev-java/qdox:1.12
339 - dev-java/commons-logging
340 - )
341 - test? (
342 - dev-java/jmock
343 - dev-java/xmlunit
344 - dev-db/hsqldb
345 - dev-java/commons-logging
346 - dev-java/ant-junit
347 - dev-java/ant-trax
348 - )
349 - ${CDEPEND}"
350 -
351 -S="${WORKDIR}/${MY_P}"
352 -
353 -PATCHES=( "${FILESDIR}/${PN}-1.8-build-pref-locking-fix.patch" )
354 -
355 -JAVA_PKG_BSFIX=""
356 -
357 -src_prepare() {
358 - base_src_prepare
359 - sed -i -e 's/fullQualifiedName/fullyQualifiedName/g' \
360 - src/tools/org/codehaus/groovy/tools/DocGenerator.groovy
361 -
362 - rm -rf bootstrap
363 - # security directory is needed for tests, but they currently don't pass
364 - #rm -rf security
365 - mkdir -p target/lib && cd target/lib
366 - mkdir compile && mkdir runtime && mkdir tools
367 - cd compile
368 -
369 - java-pkg_jar-from commons-cli-1,ant-core,antlr,asm-3,xstream,jansi
370 - java-pkg_jar-from jline,junit,servlet-api-2.4,bsf-2.3
371 - java-pkg_jar-from --virtual jmx
372 - java-pkg_jar-from --build-only ant-ivy:2
373 - use doc && java-pkg_jar-from --build-only qdox-1.12,ant-antlr,commons-logging
374 -}
375 -
376 -src_compile() {
377 - eant -DskipTests="true" -DruntimeLibDirectory="target/lib/compile" \
378 - -DtoolsLibDirectory="target/lib/compile" -DskipFetch="true" -DskipEmbeddable="true"
379 -
380 - use doc && ANT_TASKS="ant-antlr" ANT_OPTS="-Duser.home=${T}" eant -Dno.grammars="true" -DruntimeLibDirectory="target/lib/compile" \
381 - -DtoolsLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" doc
382 -}
383 -
384 -src_test() {
385 - cd "${S}/target/lib" && mkdir test && mkdir extras && cd compile
386 -
387 - java-pkg_jar-from --build-only ant-junit,jmock-1.0,xmlunit-1,hsqldb,commons-logging,cglib-2.1
388 -
389 - cd "${S}"
390 - ANT_TASKS="ant-junit ant-antlr ant-trax" ANT_OPTS="-Duser.home=${T}" eant \
391 - -DruntimeLibDirectory="target/lib/compile" -DtestLibDirectory="target/lib/compile" -DskipFetch="true" test
392 -}
393 -
394 -src_install() {
395 - java-pkg_newjar "target/dist/${PN}.jar"
396 - use doc && java-pkg_dojavadoc "target/html/groovy-jdk/"
397 -
398 - # FIXME: install those two later
399 - #
400 - #use doc && java-pkg_dojavadoc "target/html/api/"
401 - #use doc && java-pkg_dojavadoc "target/html/gapi/"
402 -
403 - use source && java-pkg_dosrc "src/main/groovy" "src/main/org"
404 - java-pkg_dolauncher "groovyc" --main org.codehaus.groovy.tools.FileSystemCompiler
405 - java-pkg_dolauncher "groovy" --main groovy.ui.GroovyMain
406 - java-pkg_dolauncher "groovysh" --main groovy.ui.InteractiveShell
407 - java-pkg_dolauncher "groovyConsole" --main groovy.ui.Console
408 - java-pkg_dolauncher "grape" --main org.codehaus.groovy.tools.GrapeMain
409 -}