Gentoo Archives: gentoo-commits

From: Patrick Lauer <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/parrot/
Date: Mon, 21 Dec 2015 09:57:15
Message-Id: 1450691784.128abf5d0a3f8d5858adce5a1adab08899897033.patrick@gentoo
1 commit: 128abf5d0a3f8d5858adce5a1adab08899897033
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 21 09:56:24 2015 +0000
4 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 21 09:56:24 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128abf5d
7
8 dev-lang/parrot: Bump
9
10 dev-lang/parrot/Manifest | 1 +
11 dev-lang/parrot/parrot-7.11.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++
12 2 files changed, 85 insertions(+)
13
14 diff --git a/dev-lang/parrot/Manifest b/dev-lang/parrot/Manifest
15 index 02f8b99..d31e4fc 100644
16 --- a/dev-lang/parrot/Manifest
17 +++ b/dev-lang/parrot/Manifest
18 @@ -1,5 +1,6 @@
19 DIST parrot-7.0.2.tar.gz 4697530 SHA256 1a8e9e203ad8ac92c89422603d1603fa821e957aa3a9ae57420c737d93c55213 SHA512 9fcd3d27c71a37841c81353aea3e393822358521e18f02644caa360de8d0f90b04c040839539769f0565c76fecc345a8c803c8e1b2cb0ec14675077a84cb4714 WHIRLPOOL e3f42c54c2c1dc422a7307e1f45689a81e27ffece6178e96067ae5a1ced168cf27849765249759d4fbc0b355151dc1d274dc97a8fb6a17cf9eece831415f2a71
20 DIST parrot-7.1.0.tar.gz 4688341 SHA256 fe2cac1f5b811f36d6de7454ef1ff394ad66474f203813e5369b4dc68305964b SHA512 b7d261e82934aa84b3d93b2e68b3eb0f13dea684665ca2448a0e2139aa6676c1ff2da1a8056332a7f2538bee6158953be5bceed0ac8a9b277827ec7bcba46cb8 WHIRLPOOL 8083787f8779664e4ec7b3426b3e103dff9a22dfb18051e7617b6738b44156e1084f1691ce02e5869abba4d6455628c30631a9b5c86bc90779e6d2051e85d87b
21 +DIST parrot-7.11.0.tar.gz 4703987 SHA256 02c7bb4ce1f7b1643e57393bf58536a15c3c2edfa0d70870cf5aa4e38988a72e SHA512 6f321a7d92b43413bc8cf2d2a03378e27de49573968471ad833232f90f0b61eae81626a80be94d84a783153c5beca3ba57c31fcc861b8b3c6cd33cd2d433a19a WHIRLPOOL 726099fe77580aee4cd5d6fe40510b8b1802c734182da1266aa0e22bba09d9974585732b66a0a3741235c72f724f06e67942d9a6485883229d718fc05f391851
22 DIST parrot-7.2.0.tar.gz 4700915 SHA256 f4792fc1a82040dd855f73890de6fa26759aa62f4b4ad1aa468597592b7bf3bf SHA512 9b29394e753a88ecc5f581e73cb2c01cbf65442f754dacda1e7b4ff68ce527248d831de56a597512418918660ec12829259fd4ad3a235d1e22012c88a933242b WHIRLPOOL abef905a53830d7e352f5d64bb26c8861f10b2188fea36f3d1a426cf6e0fd5b0383345d1f6b7ba32dc47b8f7666566a6ac987f7b8e1b5b198192c30e5fcb815e
23 DIST parrot-7.3.0.tar.gz 4687210 SHA256 23d2f59a0399a63a835087a192bede02a25f21fbcf5e42ed113b4c6dcdbea6b1 SHA512 e0aa408733af7939bdd4149952765fada0dcd6ce08b6a95f19ceab974f202fa3e440ffcb604f28fe9fd1b3b860a3400890b81e24984efdd88595f985041f3112 WHIRLPOOL fa2f32eb04d0a2be18fef4d420fa88808859d42474869d46ae6f44f3caa8611297de19b35dd337993de7e6e33df139b79e228c19a4fd7386b611643d557361e9
24 DIST parrot-7.5.0.tar.gz 4693149 SHA256 71c25d2eb0798f1fc1c0890f6e4aed9d5f2a6e4e248456b3502f7721758267fe SHA512 6c009dec6bdb9f419b20f3bb6c103b16018b27b2ed0094f13c957f66d9735cfc126c15f787d4ce577cd0c6492d61264c35c23d50ab29517b65f00df7c4b4d619 WHIRLPOOL 7c0da3ad36d92cdae3d89de5f0938a4744c87301d8d0e76fec9bf7421dda7459ab083e112867702cfb6cfee3f308c856e5d7dcb547b35d27754d23e98dff8c3c
25
26 diff --git a/dev-lang/parrot/parrot-7.11.0.ebuild b/dev-lang/parrot/parrot-7.11.0.ebuild
27 new file mode 100644
28 index 0000000..1e07b68
29 --- /dev/null
30 +++ b/dev-lang/parrot/parrot-7.11.0.ebuild
31 @@ -0,0 +1,84 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit eutils multilib
39 +
40 +# weird failures
41 +RESTRICT="test"
42 +
43 +DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
44 +HOMEPAGE="http://www.parrot.org/"
45 +SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/all/${PV}/${P}.tar.gz"
46 +
47 +LICENSE="Artistic-2"
48 +SLOT="0/${PV}"
49 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
50 +IUSE="opengl nls doc examples gdbm +gmp ssl +unicode pcre"
51 +
52 +RDEPEND="sys-libs/readline
53 + dev-libs/libffi
54 + opengl? ( media-libs/freeglut )
55 + nls? ( sys-devel/gettext )
56 + unicode? ( >=dev-libs/icu-2.6:= )
57 + gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
58 + gmp? ( >=dev-libs/gmp-4.1.4 )
59 + ssl? ( dev-libs/openssl )
60 + pcre? ( dev-libs/libpcre )
61 + doc? ( dev-perl/JSON )"
62 +
63 +DEPEND="dev-lang/perl[doc?]
64 + ${RDEPEND}"
65 +
66 +src_configure() {
67 + myconf="--disable-rpath"
68 + use unicode || myconf+=" --without-icu"
69 + use ssl || myconf+=" --without-crypto"
70 + use gdbm || myconf+=" --without-gdbm"
71 + use nls || myconf+=" --without-gettext"
72 + use gmp || myconf+=" --without-gmp"
73 + use opengl || myconf+=" --without-opengl"
74 + use pcre || myconf+=" --without-pcre"
75 +
76 + perl Configure.pl \
77 + --ccflags="${CFLAGS}" \
78 + --linkflags="${LDFLAGS}" \
79 + --prefix="${EPREFIX}"/usr \
80 + --libdir="${EPREFIX}"/usr/$(get_libdir) \
81 + --mandir="${EPREFIX}"/usr/share/man \
82 + --sysconfdir="${EPREFIX}"/etc \
83 + --sharedstatedir="${EPREFIX}"/var/lib/parrot \
84 + $myconf || die
85 +}
86 +
87 +src_compile() {
88 + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
89 + # occasionally dies in parallel make
90 + emake -j1 || die
91 + if use doc ; then
92 + emake -j1 html || die
93 + fi
94 +}
95 +
96 +src_test() {
97 + emake -j1 test || die
98 +}
99 +
100 +src_install() {
101 + emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
102 + dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
103 + dosym /usr/bin/parrot-ops2c /usr/bin/ops2c || die
104 + if use examples; then
105 + insinto "/usr/share/doc/${PF}/examples"
106 + doins -r examples/* || die
107 + fi
108 + if use doc; then
109 + insinto "/usr/share/doc/${PF}/editor"
110 + doins -r editor || die
111 + cd docs/html
112 + dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
113 + pmc.html tools.html docs src tools || die
114 + fi
115 +}