Gentoo Archives: gentoo-commits

From: "M. B." <tomboy64@××××.cn>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/tbc:master commit in: dev-lang/moarvm/, tools/, dev-lang/nqp/, dev-lang/rakudo/
Date: Wed, 25 May 2016 11:16:21
Message-Id: 1464174953.12e55f5e736c85f7de65af998b973df6a67a763f.tomboy64@gentoo
1 commit: 12e55f5e736c85f7de65af998b973df6a67a763f
2 Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
3 AuthorDate: Wed May 25 11:15:53 2016 +0000
4 Commit: M. B. <tomboy64 <AT> sina <DOT> cn>
5 CommitDate: Wed May 25 11:15:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=12e55f5e
7
8 remove old perl6 ebuilds
9
10 dev-lang/moarvm/moarvm-2016.01-r1.ebuild | 31 ---------
11 dev-lang/moarvm/moarvm-2016.02.ebuild | 31 ---------
12 dev-lang/moarvm/moarvm-2016.03.ebuild | 31 ---------
13 dev-lang/moarvm/moarvm-2016.04-r1.ebuild | 68 ------------------
14 dev-lang/moarvm/moarvm-2016.04.ebuild | 35 ----------
15 dev-lang/nqp/nqp-2016.01.ebuild | 64 -----------------
16 dev-lang/nqp/nqp-2016.02.ebuild | 64 -----------------
17 dev-lang/nqp/nqp-2016.03.ebuild | 64 -----------------
18 dev-lang/nqp/nqp-2016.04-r2.ebuild | 114 -------------------------------
19 dev-lang/nqp/nqp-2016.04.ebuild | 64 -----------------
20 dev-lang/rakudo/rakudo-2016.01.1.ebuild | 36 ----------
21 dev-lang/rakudo/rakudo-2016.02.ebuild | 36 ----------
22 dev-lang/rakudo/rakudo-2016.03.ebuild | 36 ----------
23 dev-lang/rakudo/rakudo-2016.04-r1.ebuild | 85 -----------------------
24 dev-lang/rakudo/rakudo-2016.04.ebuild | 34 ---------
25 tools/chroot-here.sh | 12 ++--
26 16 files changed, 6 insertions(+), 799 deletions(-)
27
28 diff --git a/dev-lang/moarvm/moarvm-2016.01-r1.ebuild b/dev-lang/moarvm/moarvm-2016.01-r1.ebuild
29 deleted file mode 100644
30 index 0e7c088..0000000
31 --- a/dev-lang/moarvm/moarvm-2016.01-r1.ebuild
32 +++ /dev/null
33 @@ -1,31 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -
40 -inherit eutils multilib
41 -
42 -MY_PN="MoarVM"
43 -
44 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
45 -HOMEPAGE="http://moarvm.org"
46 -SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
47 -LICENSE="Artistic-2"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="doc"
51 -
52 -RDEPEND="dev-libs/libuv"
53 -DEPEND="${RDEPEND}
54 - dev-lang/perl"
55 -
56 -S="${WORKDIR}/MoarVM-${PV}"
57 -
58 -src_configure() {
59 - perl Configure.pl --prefix="/usr"|| die
60 -}
61 -
62 -src_install() {
63 - emake DESTDIR="${D}" install
64 -}
65
66 diff --git a/dev-lang/moarvm/moarvm-2016.02.ebuild b/dev-lang/moarvm/moarvm-2016.02.ebuild
67 deleted file mode 100644
68 index 0e7c088..0000000
69 --- a/dev-lang/moarvm/moarvm-2016.02.ebuild
70 +++ /dev/null
71 @@ -1,31 +0,0 @@
72 -# Copyright 1999-2015 Gentoo Foundation
73 -# Distributed under the terms of the GNU General Public License v2
74 -# $Id$
75 -
76 -EAPI=5
77 -
78 -inherit eutils multilib
79 -
80 -MY_PN="MoarVM"
81 -
82 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
83 -HOMEPAGE="http://moarvm.org"
84 -SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
85 -LICENSE="Artistic-2"
86 -SLOT="0"
87 -KEYWORDS="~amd64 ~x86"
88 -IUSE="doc"
89 -
90 -RDEPEND="dev-libs/libuv"
91 -DEPEND="${RDEPEND}
92 - dev-lang/perl"
93 -
94 -S="${WORKDIR}/MoarVM-${PV}"
95 -
96 -src_configure() {
97 - perl Configure.pl --prefix="/usr"|| die
98 -}
99 -
100 -src_install() {
101 - emake DESTDIR="${D}" install
102 -}
103
104 diff --git a/dev-lang/moarvm/moarvm-2016.03.ebuild b/dev-lang/moarvm/moarvm-2016.03.ebuild
105 deleted file mode 100644
106 index 0e7c088..0000000
107 --- a/dev-lang/moarvm/moarvm-2016.03.ebuild
108 +++ /dev/null
109 @@ -1,31 +0,0 @@
110 -# Copyright 1999-2015 Gentoo Foundation
111 -# Distributed under the terms of the GNU General Public License v2
112 -# $Id$
113 -
114 -EAPI=5
115 -
116 -inherit eutils multilib
117 -
118 -MY_PN="MoarVM"
119 -
120 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
121 -HOMEPAGE="http://moarvm.org"
122 -SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
123 -LICENSE="Artistic-2"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~x86"
126 -IUSE="doc"
127 -
128 -RDEPEND="dev-libs/libuv"
129 -DEPEND="${RDEPEND}
130 - dev-lang/perl"
131 -
132 -S="${WORKDIR}/MoarVM-${PV}"
133 -
134 -src_configure() {
135 - perl Configure.pl --prefix="/usr"|| die
136 -}
137 -
138 -src_install() {
139 - emake DESTDIR="${D}" install
140 -}
141
142 diff --git a/dev-lang/moarvm/moarvm-2016.04-r1.ebuild b/dev-lang/moarvm/moarvm-2016.04-r1.ebuild
143 deleted file mode 100644
144 index 7b75a88..0000000
145 --- a/dev-lang/moarvm/moarvm-2016.04-r1.ebuild
146 +++ /dev/null
147 @@ -1,68 +0,0 @@
148 -# Copyright 1999-2016 Gentoo Foundation
149 -# Distributed under the terms of the GNU General Public License v2
150 -# $Id$
151 -
152 -EAPI=6
153 -
154 -inherit flag-o-matic
155 -
156 -MY_PN="MoarVM"
157 -if [[ ${PV} == "9999" ]]; then
158 - EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
159 - inherit git-r3
160 - KEYWORDS=""
161 - S="${WORKDIR}/${P}"
162 -else
163 - SRC_URI="https://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
164 - KEYWORDS="~amd64 ~x86"
165 - S="${WORKDIR}/${MY_PN}-${PV}"
166 -fi
167 -
168 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
169 -HOMEPAGE="http://moarvm.org"
170 -LICENSE="Artistic-2"
171 -SLOT="0"
172 -IUSE="asan clang debug doc +jit static-libs +system-libs optimize ubsan"
173 -
174 -RDEPEND="dev-libs/libatomic_ops
175 - dev-libs/libtommath
176 - dev-libs/libuv
177 - jit? ( dev-lang/lua:0[deprecated]
178 - dev-lua/LuaBitOp )
179 - virtual/libffi"
180 -DEPEND="${RDEPEND}
181 - clang? ( >=sys-devel/clang-3.1 )
182 - dev-lang/perl"
183 -
184 -PATCHES=( "${FILESDIR}/Configure-2016.04.patch" )
185 -DOCS=( CREDITS README.markdown )
186 -
187 -# Tests are conducted via nqp
188 -RESTRICT=test
189 -
190 -src_prepare() {
191 - eapply "${PATCHES[@]}"
192 - eapply_user
193 - use doc && DOCS+=( docs/* )
194 -}
195 -
196 -src_configure() {
197 - local myconfigargs=(
198 - "--prefix=/usr"
199 - "--libdir=$(get_libdir)"
200 - "--compiler=$(usex clang clang gcc)"
201 - "$(usex asan --asan)"
202 - "$(usex debug --debug --no-debug)"
203 - "$(usex jit --lua=/usr/bin/lua --no-jit)"
204 - "$(usex optimize --optimize= --no-optimize)"
205 - "$(usex static-libs --static)"
206 - "$(usex system-libs --has-libtommath)"
207 - "$(usex system-libs --has-libuv)"
208 - "$(usex system-libs --has-libatomic_ops)"
209 - "$(usex system-libs --has-libffi)"
210 - "$(usex ubsan --ubsan)"
211 - )
212 - use optimize && filter-flags '-O*'
213 -
214 - perl Configure.pl "${myconfigargs[@]}" || die
215 -}
216
217 diff --git a/dev-lang/moarvm/moarvm-2016.04.ebuild b/dev-lang/moarvm/moarvm-2016.04.ebuild
218 deleted file mode 100644
219 index 9ce8da2..0000000
220 --- a/dev-lang/moarvm/moarvm-2016.04.ebuild
221 +++ /dev/null
222 @@ -1,35 +0,0 @@
223 -# Copyright 1999-2015 Gentoo Foundation
224 -# Distributed under the terms of the GNU General Public License v2
225 -# $Id$
226 -
227 -EAPI=5
228 -
229 -inherit eutils multilib
230 -
231 -MY_PN="MoarVM"
232 -
233 -DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
234 -HOMEPAGE="http://moarvm.org"
235 -SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
236 -LICENSE="Artistic-2"
237 -SLOT="0"
238 -KEYWORDS="~amd64 ~x86"
239 -IUSE="doc"
240 -
241 -RDEPEND="dev-libs/libuv
242 - dev-libs/libtommath
243 - dev-libs/libatomic_ops
244 - dev-libs/libuv
245 - "
246 -DEPEND="${RDEPEND}
247 - dev-lang/perl"
248 -
249 -S="${WORKDIR}/MoarVM-${PV}"
250 -
251 -src_configure() {
252 - perl Configure.pl --prefix="/usr" --has-libtommath --has-libatomic_ops --has-libuv || die
253 -}
254 -
255 -src_install() {
256 - emake DESTDIR="${D}" install
257 -}
258
259 diff --git a/dev-lang/nqp/nqp-2016.01.ebuild b/dev-lang/nqp/nqp-2016.01.ebuild
260 deleted file mode 100644
261 index 39d021f..0000000
262 --- a/dev-lang/nqp/nqp-2016.01.ebuild
263 +++ /dev/null
264 @@ -1,64 +0,0 @@
265 -# Copyright 1999-2015 Gentoo Foundation
266 -# Distributed under the terms of the GNU General Public License v2
267 -# $Id$
268 -
269 -EAPI=5
270 -
271 -# still not working
272 -RESTRICT="test"
273 -
274 -inherit eutils multilib versionator
275 -
276 -GITCRAP=b5ebdaa
277 -
278 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
279 -HOMEPAGE="http://rakudo.org/"
280 -SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
281 -
282 -LICENSE="Artistic-2"
283 -SLOT="0"
284 -KEYWORDS="~x86 ~amd64"
285 -IUSE="doc java +moar"
286 -REQUIRED_USE="|| ( java moar )"
287 -
288 -RDEPEND="
289 - java? ( >=virtual/jre-1.7 )
290 - moar? ( ~dev-lang/moarvm-${PV} )
291 - dev-libs/libffi"
292 -DEPEND="${RDEPEND}
293 - java? ( >=virtual/jdk-1.7 )
294 - dev-lang/perl"
295 -
296 -S=${WORKDIR}/perl6-nqp-${GITCRAP}
297 -
298 -src_configure() {
299 - use java && myconf+="jvm,"
300 - use moar && myconf+="moar,"
301 - perl Configure.pl --backend=${myconf} --prefix=/usr || die
302 - # dirty hack to make dyncall not fail
303 - sed -i -e 's/-Werror=missing-prototypes//' Makefile || die
304 - sed -i -e 's/-Werror=missing-declarations//' Makefile || die
305 - sed -i -e 's/-Werror=strict-prototypes//' Makefile || die
306 -
307 - # more dirty hack to allow building with newer gcc
308 - sed -i -e 's/-Werror=implicit-function-declaration//' Makefile || die
309 - sed -i -e 's/-Werror=nested-externs//' Makefile || die
310 -}
311 -
312 -src_compile() {
313 - emake -j1 || die
314 -}
315 -
316 -src_test() {
317 - emake -j1 test || die
318 -}
319 -
320 -src_install() {
321 - emake DESTDIR="${ED}" install || die
322 -
323 - dodoc CREDITS README.pod || die
324 -
325 - if use doc; then
326 - dodoc -r docs/* || die
327 - fi
328 -}
329
330 diff --git a/dev-lang/nqp/nqp-2016.02.ebuild b/dev-lang/nqp/nqp-2016.02.ebuild
331 deleted file mode 100644
332 index ab671df..0000000
333 --- a/dev-lang/nqp/nqp-2016.02.ebuild
334 +++ /dev/null
335 @@ -1,64 +0,0 @@
336 -# Copyright 1999-2015 Gentoo Foundation
337 -# Distributed under the terms of the GNU General Public License v2
338 -# $Id$
339 -
340 -EAPI=5
341 -
342 -# still not working
343 -RESTRICT="test"
344 -
345 -inherit eutils multilib versionator
346 -
347 -GITCRAP=1d6b8cb
348 -
349 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
350 -HOMEPAGE="http://rakudo.org/"
351 -SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
352 -
353 -LICENSE="Artistic-2"
354 -SLOT="0"
355 -KEYWORDS="~x86 ~amd64"
356 -IUSE="doc java +moar"
357 -REQUIRED_USE="|| ( java moar )"
358 -
359 -RDEPEND="
360 - java? ( >=virtual/jre-1.7 )
361 - moar? ( ~dev-lang/moarvm-${PV} )
362 - dev-libs/libffi"
363 -DEPEND="${RDEPEND}
364 - java? ( >=virtual/jdk-1.7 )
365 - dev-lang/perl"
366 -
367 -S=${WORKDIR}/perl6-nqp-${GITCRAP}
368 -
369 -src_configure() {
370 - use java && myconf+="jvm,"
371 - use moar && myconf+="moar,"
372 - perl Configure.pl --backend=${myconf} --prefix=/usr || die
373 - # dirty hack to make dyncall not fail
374 - sed -i -e 's/-Werror=missing-prototypes//' Makefile || die
375 - sed -i -e 's/-Werror=missing-declarations//' Makefile || die
376 - sed -i -e 's/-Werror=strict-prototypes//' Makefile || die
377 -
378 - # more dirty hack to allow building with newer gcc
379 - sed -i -e 's/-Werror=implicit-function-declaration//' Makefile || die
380 - sed -i -e 's/-Werror=nested-externs//' Makefile || die
381 -}
382 -
383 -src_compile() {
384 - emake -j1 || die
385 -}
386 -
387 -src_test() {
388 - emake -j1 test || die
389 -}
390 -
391 -src_install() {
392 - emake DESTDIR="${ED}" install || die
393 -
394 - dodoc CREDITS README.pod || die
395 -
396 - if use doc; then
397 - dodoc -r docs/* || die
398 - fi
399 -}
400
401 diff --git a/dev-lang/nqp/nqp-2016.03.ebuild b/dev-lang/nqp/nqp-2016.03.ebuild
402 deleted file mode 100644
403 index 63020f3..0000000
404 --- a/dev-lang/nqp/nqp-2016.03.ebuild
405 +++ /dev/null
406 @@ -1,64 +0,0 @@
407 -# Copyright 1999-2015 Gentoo Foundation
408 -# Distributed under the terms of the GNU General Public License v2
409 -# $Id$
410 -
411 -EAPI=5
412 -
413 -# still not working
414 -RESTRICT="test"
415 -
416 -inherit eutils multilib versionator
417 -
418 -GITCRAP=d1e443f
419 -
420 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
421 -HOMEPAGE="http://rakudo.org/"
422 -SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
423 -
424 -LICENSE="Artistic-2"
425 -SLOT="0"
426 -KEYWORDS="~x86 ~amd64"
427 -IUSE="doc java +moar"
428 -REQUIRED_USE="|| ( java moar )"
429 -
430 -RDEPEND="
431 - java? ( >=virtual/jre-1.7 )
432 - moar? ( ~dev-lang/moarvm-${PV} )
433 - dev-libs/libffi"
434 -DEPEND="${RDEPEND}
435 - java? ( >=virtual/jdk-1.7 )
436 - dev-lang/perl"
437 -
438 -S=${WORKDIR}/perl6-nqp-${GITCRAP}
439 -
440 -src_configure() {
441 - use java && myconf+="jvm,"
442 - use moar && myconf+="moar,"
443 - perl Configure.pl --backend=${myconf} --prefix=/usr || die
444 - # dirty hack to make dyncall not fail
445 - sed -i -e 's/-Werror=missing-prototypes//' Makefile || die
446 - sed -i -e 's/-Werror=missing-declarations//' Makefile || die
447 - sed -i -e 's/-Werror=strict-prototypes//' Makefile || die
448 -
449 - # more dirty hack to allow building with newer gcc
450 - sed -i -e 's/-Werror=implicit-function-declaration//' Makefile || die
451 - sed -i -e 's/-Werror=nested-externs//' Makefile || die
452 -}
453 -
454 -src_compile() {
455 - emake -j1 || die
456 -}
457 -
458 -src_test() {
459 - emake -j1 test || die
460 -}
461 -
462 -src_install() {
463 - emake DESTDIR="${ED}" install || die
464 -
465 - dodoc CREDITS README.pod || die
466 -
467 - if use doc; then
468 - dodoc -r docs/* || die
469 - fi
470 -}
471
472 diff --git a/dev-lang/nqp/nqp-2016.04-r2.ebuild b/dev-lang/nqp/nqp-2016.04-r2.ebuild
473 deleted file mode 100644
474 index 9575dfb..0000000
475 --- a/dev-lang/nqp/nqp-2016.04-r2.ebuild
476 +++ /dev/null
477 @@ -1,114 +0,0 @@
478 -# Copyright 1999-2016 Gentoo Foundation
479 -# Distributed under the terms of the GNU General Public License v2
480 -# $Id$
481 -
482 -EAPI=5
483 -
484 -inherit java-pkg-opt-2
485 -
486 -if [[ ${PV} == "9999" ]]; then
487 - EGIT_REPO_URI="https://github.com/perl6/${PN}.git"
488 - inherit git-r3
489 - KEYWORDS=""
490 -else
491 - SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
492 - inherit vcs-snapshot
493 - KEYWORDS="~x86 ~amd64"
494 -fi
495 -
496 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
497 -HOMEPAGE="http://rakudo.org/"
498 -
499 -LICENSE="Artistic-2"
500 -SLOT="0"
501 -IUSE="doc clang java +moar test"
502 -REQUIRED_USE="|| ( java moar )"
503 -
504 -CDEPEND="java? (
505 - dev-java/asm:4
506 - dev-java/jline:0
507 - dev-java/jna:4
508 - )
509 - moar? ( ~dev-lang/moarvm-${PV}[clang=] )
510 - dev-libs/libffi"
511 -RDEPEND="${CDEPEND}
512 - java? ( >=virtual/jre-1.7:* )"
513 -DEPEND="${CDEPEND}
514 - clang? ( sys-devel/clang )
515 - java? ( >=virtual/jdk-1.7:* )
516 - dev-lang/perl"
517 -
518 -java_prepare() {
519 - # Don't clean stage0 jars.
520 - java-pkg_clean 3rdparty/
521 -
522 - # Don't use jars we just deleted.
523 - sed -i -r 's/(:3rdparty[^:]*)+/:${THIRDPARTY_JARS}/g' \
524 - src/vm/jvm/runners/nqp-j || die
525 -}
526 -
527 -src_configure() {
528 - local backends
529 - use java && backends+="jvm,"
530 - use moar && backends+="moar"
531 -
532 - local myconfargs=(
533 - "--backend=${backends}"
534 - "--prefix=/usr" )
535 -
536 - perl Configure.pl "${myconfargs[@]}" || die
537 -
538 - if use java; then
539 - # Export this for the script we sed'd above.
540 - export THIRDPARTY_JARS=$(java-pkg_getjars --with-dependencies asm-4,jline,jna-4)
541 - fi
542 -}
543 -
544 -src_compile() {
545 - if use java; then
546 - emake -j1 \
547 - THIRDPARTY_JARS="${THIRDPARTY_JARS}" \
548 - JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
549 - else
550 - emake -j1
551 - fi
552 -}
553 -
554 -src_test() {
555 - emake -j1 test
556 -}
557 -
558 -src_install() {
559 - if use java; then
560 - # Set JAVA_PKG_JARDEST early.
561 - java-pkg_init_paths_
562 -
563 - # Upstream sets the classpath to this location. Perhaps it's
564 - # used to locate the additional libraries?
565 - java-pkg_addcp "${JAVA_PKG_JARDEST}"
566 -
567 - insinto "${JAVA_PKG_JARDEST}"
568 - local jar
569 -
570 - for jar in *.jar; do
571 - if has ${jar} ${PN}.jar ${PN}-runtime.jar; then
572 - # jars for NQP itself.
573 - java-pkg_dojar ${jar}
574 - else
575 - # jars used by NQP.
576 - doins ${jar}
577 - fi
578 - done
579 -
580 - # Upstream uses -Xbootclasspath/a, which is faster due to lack
581 - # of verification, but gjl isn't flexible enough yet. :(
582 - java-pkg_dolauncher ${PN}-j --main ${PN}
583 - dosym ${PN}-j /usr/bin/${PN}
584 - dobin tools/jvm/eval-client.pl
585 - else
586 - emake DESTDIR="${ED}" install
587 - fi
588 -
589 - dodoc CREDITS README.pod
590 - use doc && dodoc -r docs/*
591 -}
592
593 diff --git a/dev-lang/nqp/nqp-2016.04.ebuild b/dev-lang/nqp/nqp-2016.04.ebuild
594 deleted file mode 100644
595 index 4a45644..0000000
596 --- a/dev-lang/nqp/nqp-2016.04.ebuild
597 +++ /dev/null
598 @@ -1,64 +0,0 @@
599 -# Copyright 1999-2015 Gentoo Foundation
600 -# Distributed under the terms of the GNU General Public License v2
601 -# $Id$
602 -
603 -EAPI=5
604 -
605 -# still not working
606 -RESTRICT="test"
607 -
608 -inherit eutils multilib versionator
609 -
610 -GITCRAP=10d3ecc
611 -
612 -DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
613 -HOMEPAGE="http://rakudo.org/"
614 -SRC_URI="https://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
615 -
616 -LICENSE="Artistic-2"
617 -SLOT="0"
618 -KEYWORDS="~x86 ~amd64"
619 -IUSE="doc java +moar"
620 -REQUIRED_USE="|| ( java moar )"
621 -
622 -RDEPEND="
623 - java? ( >=virtual/jre-1.7 )
624 - moar? ( ~dev-lang/moarvm-${PV} )
625 - dev-libs/libffi"
626 -DEPEND="${RDEPEND}
627 - java? ( >=virtual/jdk-1.7 )
628 - dev-lang/perl"
629 -
630 -S=${WORKDIR}/perl6-nqp-${GITCRAP}
631 -
632 -src_configure() {
633 - use java && myconf+="jvm,"
634 - use moar && myconf+="moar,"
635 - perl Configure.pl --backend=${myconf} --prefix=/usr || die
636 - # dirty hack to make dyncall not fail
637 - sed -i -e 's/-Werror=missing-prototypes//' Makefile || die
638 - sed -i -e 's/-Werror=missing-declarations//' Makefile || die
639 - sed -i -e 's/-Werror=strict-prototypes//' Makefile || die
640 -
641 - # more dirty hack to allow building with newer gcc
642 - sed -i -e 's/-Werror=implicit-function-declaration//' Makefile || die
643 - sed -i -e 's/-Werror=nested-externs//' Makefile || die
644 -}
645 -
646 -src_compile() {
647 - emake -j1 || die
648 -}
649 -
650 -src_test() {
651 - emake -j1 test || die
652 -}
653 -
654 -src_install() {
655 - emake DESTDIR="${ED}" install || die
656 -
657 - dodoc CREDITS README.pod || die
658 -
659 - if use doc; then
660 - dodoc -r docs/* || die
661 - fi
662 -}
663
664 diff --git a/dev-lang/rakudo/rakudo-2016.01.1.ebuild b/dev-lang/rakudo/rakudo-2016.01.1.ebuild
665 deleted file mode 100644
666 index 8c17dfb..0000000
667 --- a/dev-lang/rakudo/rakudo-2016.01.1.ebuild
668 +++ /dev/null
669 @@ -1,36 +0,0 @@
670 -# Copyright 1999-2016 Gentoo Foundation
671 -# Distributed under the terms of the GNU General Public License v2
672 -# $Id$
673 -
674 -EAPI=6
675 -
676 -DESCRIPTION="A compiler for the Perl 6 programming language"
677 -HOMEPAGE="http://rakudo.org"
678 -
679 -if [[ ${PV} == "9999" ]]; then
680 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
681 - inherit git-r3
682 -else
683 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
684 -fi
685 -
686 -LICENSE="Artistic-2"
687 -SLOT="0"
688 -KEYWORDS="~amd64 ~x86"
689 -# TODO: add USE="javascript" once that's usable in nqp
690 -IUSE="test"
691 -
692 -RDEPEND="=dev-lang/nqp-2016.01:=[moar]"
693 -DEPEND="${RDEPEND}
694 - >=dev-lang/perl-5.10"
695 -
696 -#PATCHES=(${FILESDIR}/${PV})
697 -
698 -src_configure() {
699 - perl Configure.pl --prefix=/usr --sysroot=/usr --backends=moar
700 -}
701 -
702 -src_test() {
703 - export RAKUDO_PRECOMP_PREFIX=$(mktemp -d)
704 - default
705 -}
706
707 diff --git a/dev-lang/rakudo/rakudo-2016.02.ebuild b/dev-lang/rakudo/rakudo-2016.02.ebuild
708 deleted file mode 100644
709 index 623e8f4..0000000
710 --- a/dev-lang/rakudo/rakudo-2016.02.ebuild
711 +++ /dev/null
712 @@ -1,36 +0,0 @@
713 -# Copyright 1999-2016 Gentoo Foundation
714 -# Distributed under the terms of the GNU General Public License v2
715 -# $Id$
716 -
717 -EAPI=6
718 -
719 -DESCRIPTION="A compiler for the Perl 6 programming language"
720 -HOMEPAGE="http://rakudo.org"
721 -
722 -if [[ ${PV} == "9999" ]]; then
723 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
724 - inherit git-r3
725 -else
726 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
727 -fi
728 -
729 -LICENSE="Artistic-2"
730 -SLOT="0"
731 -KEYWORDS="~amd64 ~x86"
732 -# TODO: add USE="javascript" once that's usable in nqp
733 -IUSE="test"
734 -
735 -RDEPEND="=dev-lang/nqp-${PV}:=[moar]"
736 -DEPEND="${RDEPEND}
737 - >=dev-lang/perl-5.10"
738 -
739 -#PATCHES=(${FILESDIR}/${PV})
740 -
741 -src_configure() {
742 - perl Configure.pl --prefix=/usr --sysroot=/usr --backends=moar
743 -}
744 -
745 -src_test() {
746 - export RAKUDO_PRECOMP_PREFIX=$(mktemp -d)
747 - default
748 -}
749
750 diff --git a/dev-lang/rakudo/rakudo-2016.03.ebuild b/dev-lang/rakudo/rakudo-2016.03.ebuild
751 deleted file mode 100644
752 index 623e8f4..0000000
753 --- a/dev-lang/rakudo/rakudo-2016.03.ebuild
754 +++ /dev/null
755 @@ -1,36 +0,0 @@
756 -# Copyright 1999-2016 Gentoo Foundation
757 -# Distributed under the terms of the GNU General Public License v2
758 -# $Id$
759 -
760 -EAPI=6
761 -
762 -DESCRIPTION="A compiler for the Perl 6 programming language"
763 -HOMEPAGE="http://rakudo.org"
764 -
765 -if [[ ${PV} == "9999" ]]; then
766 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
767 - inherit git-r3
768 -else
769 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
770 -fi
771 -
772 -LICENSE="Artistic-2"
773 -SLOT="0"
774 -KEYWORDS="~amd64 ~x86"
775 -# TODO: add USE="javascript" once that's usable in nqp
776 -IUSE="test"
777 -
778 -RDEPEND="=dev-lang/nqp-${PV}:=[moar]"
779 -DEPEND="${RDEPEND}
780 - >=dev-lang/perl-5.10"
781 -
782 -#PATCHES=(${FILESDIR}/${PV})
783 -
784 -src_configure() {
785 - perl Configure.pl --prefix=/usr --sysroot=/usr --backends=moar
786 -}
787 -
788 -src_test() {
789 - export RAKUDO_PRECOMP_PREFIX=$(mktemp -d)
790 - default
791 -}
792
793 diff --git a/dev-lang/rakudo/rakudo-2016.04-r1.ebuild b/dev-lang/rakudo/rakudo-2016.04-r1.ebuild
794 deleted file mode 100644
795 index 7421cad..0000000
796 --- a/dev-lang/rakudo/rakudo-2016.04-r1.ebuild
797 +++ /dev/null
798 @@ -1,85 +0,0 @@
799 -# Copyright 1999-2016 Gentoo Foundation
800 -# Distributed under the terms of the GNU General Public License v2
801 -# $Id$
802 -
803 -EAPI=6
804 -
805 -inherit java-pkg-opt-2
806 -
807 -DESCRIPTION="A compiler for the Perl 6 programming language"
808 -HOMEPAGE="http://rakudo.org"
809 -
810 -if [[ ${PV} == "9999" ]]; then
811 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
812 - inherit git-r3
813 - KEYWORDS=""
814 -else
815 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
816 - KEYWORDS="~amd64 ~x86"
817 -fi
818 -
819 -LICENSE="Artistic-2"
820 -SLOT="0"
821 -# TODO: add USE="javascript" once that's usable in nqp
822 -IUSE="clang java +moar test"
823 -REQUIRED_USE="|| ( java moar )"
824 -
825 -CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java=,moar=,clang=]"
826 -
827 -RDEPEND="${CDEPEND}
828 - java? ( >=virtual/jre-1.7:* )"
829 -
830 -DEPEND="${CDEPEND}
831 - clang? ( sys-devel/clang )
832 - java? ( >=virtual/jdk-1.7:* )
833 - >=dev-lang/perl-5.10"
834 -
835 -PATCHES=(
836 - "${FILESDIR}/${PN}-2016.04-Makefile.in.patch"
837 - "${FILESDIR}/${PN}-jna-lib.patch"
838 -)
839 -
840 -src_prepare() {
841 - eapply "${PATCHES[@]}"
842 -
843 - # yup, this is ugly. but emake doesn't respect DESTDIR.
844 - for i in Moar JVM; do
845 - echo "DESTDIR = ${D}" > "${T}/Makefile-${i}.in" || die
846 - cat "${S}/tools/build/Makefile-${i}.in" >> "${T}/Makefile-${i}.in" || die
847 - mv "${T}/Makefile-${i}.in" "${S}/tools/build/Makefile-${i}.in" || die
848 - done
849 -
850 - eapply_user
851 - java-pkg-opt-2_src_prepare
852 -}
853 -
854 -src_configure() {
855 - local backends
856 - use java && backends+="jvm,"
857 - use moar && backends+="moar,"
858 -
859 - local myargs=(
860 - "--prefix=/usr"
861 - "--sysroot=/"
862 - "--sdkroot=/"
863 - "--backends=${backends}"
864 - )
865 -
866 - perl Configure.pl "${myargs[@]}"
867 -
868 - if use java; then
869 - NQP=$(java-pkg_getjars --with-dependencies nqp)
870 - fi
871 -}
872 -
873 -src_compile() {
874 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}"
875 -}
876 -
877 -src_install() {
878 - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install
879 -}
880 -
881 -src_test() {
882 - RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default
883 -}
884
885 diff --git a/dev-lang/rakudo/rakudo-2016.04.ebuild b/dev-lang/rakudo/rakudo-2016.04.ebuild
886 deleted file mode 100644
887 index 4903a0a..0000000
888 --- a/dev-lang/rakudo/rakudo-2016.04.ebuild
889 +++ /dev/null
890 @@ -1,34 +0,0 @@
891 -# Copyright 1999-2016 Gentoo Foundation
892 -# Distributed under the terms of the GNU General Public License v2
893 -# $Id$
894 -
895 -EAPI=6
896 -
897 -DESCRIPTION="A compiler for the Perl 6 programming language"
898 -HOMEPAGE="http://rakudo.org"
899 -
900 -if [[ ${PV} == "9999" ]]; then
901 - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
902 - inherit git-r3
903 -else
904 - SRC_URI="${HOMEPAGE}/downloads/${PN}/${P}.tar.gz"
905 -fi
906 -
907 -LICENSE="Artistic-2"
908 -SLOT="0"
909 -KEYWORDS="~amd64 ~x86"
910 -# TODO: add USE="javascript" once that's usable in nqp
911 -IUSE="test"
912 -
913 -RDEPEND="=dev-lang/nqp-${PV}:=[moar]"
914 -DEPEND="${RDEPEND}
915 - >=dev-lang/perl-5.10"
916 -
917 -src_configure() {
918 - perl Configure.pl --prefix=/usr --sysroot=/usr --backends=moar
919 -}
920 -
921 -src_test() {
922 - export RAKUDO_PRECOMP_PREFIX=$(mktemp -d)
923 - default
924 -}
925
926 diff --git a/tools/chroot-here.sh b/tools/chroot-here.sh
927 index b8721b3..408fef4 100755
928 --- a/tools/chroot-here.sh
929 +++ b/tools/chroot-here.sh
930 @@ -199,12 +199,12 @@ cp -v /etc/resolv.conf etc/ || quit "Couldn't copy resolv.conf"
931 if [[ ${ARCH_FULL} != x86 && ${ARCH} != amd64 ]]; then
932 cp -v "${QEMU_BIN}" ".$(dirname "${QEMU_BIN}")" || quit "Couldn't copy qemu binary."
933 fi
934 - cat <<EOF >> etc/portage/make.conf || quit "Couldn't write to etc/portage/make.conf."
935 -MAKEOPTS="-j5"
936 -EMERGE_DEFAULT_OPTS="--verbose --autounmask-write --nospinner --keep-going -j5 --load-average=5 --verbose-conflict"
937 -PYTHON_SINGLE_TARGET="python3_4"
938 -PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5 pypy pypy2"
939 -EOF
940 + cat <<-EOF >> etc/portage/make.conf || quit "Couldn't write to etc/portage/make.conf."
941 + MAKEOPTS="-j5"
942 + EMERGE_DEFAULT_OPTS="--verbose --autounmask-write --nospinner --keep-going -j5 --load-average=5 --verbose-conflict"
943 + PYTHON_SINGLE_TARGET="python3_4"
944 + PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5 pypy pypy2"
945 + EOF
946 if [[ ${ARCH_FULL} == x86 ]]; then
947 PS1="chroot${PS1}" linux32 chroot ./ /bin/bash --login || quit "Chrooting failed."
948 else