Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/parrot: parrot-5.4.0.ebuild ChangeLog
Date: Fri, 31 May 2013 04:43:47
Message-Id: 20130531044341.34CEF2171D@flycatcher.gentoo.org
1 patrick 13/05/31 04:43:41
2
3 Modified: ChangeLog
4 Added: parrot-5.4.0.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.66 dev-lang/parrot/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.66&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/ChangeLog?rev=1.66&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/ChangeLog?r1=1.65&r2=1.66
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v
20 retrieving revision 1.65
21 retrieving revision 1.66
22 diff -u -r1.65 -r1.66
23 --- ChangeLog 19 Apr 2013 02:50:33 -0000 1.65
24 +++ ChangeLog 31 May 2013 04:43:41 -0000 1.66
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lang/parrot
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.65 2013/04/19 02:50:33 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.66 2013/05/31 04:43:41 patrick Exp $
30 +
31 +*parrot-5.4.0 (31 May 2013)
32 +
33 + 31 May 2013; Patrick Lauer <patrick@g.o> +parrot-5.4.0.ebuild:
34 + Bump
35
36 *parrot-5.3.0 (19 Apr 2013)
37
38
39
40
41 1.1 dev-lang/parrot/parrot-5.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/parrot-5.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/parrot/parrot-5.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: parrot-5.4.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-5.4.0.ebuild,v 1.1 2013/05/31 04:43:41 patrick Exp $
51
52 EAPI=3
53
54 inherit eutils multilib
55
56 DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
57 HOMEPAGE="http://www.parrot.org/"
58 SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.gz"
59
60 LICENSE="Artistic-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
63 IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
64
65 RDEPEND="sys-libs/readline
66 opengl? ( media-libs/freeglut )
67 nls? ( sys-devel/gettext )
68 unicode? ( >=dev-libs/icu-2.6 )
69 gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
70 gmp? ( >=dev-libs/gmp-4.1.4 )
71 ssl? ( dev-libs/openssl )
72 pcre? ( dev-libs/libpcre )"
73
74 DEPEND="dev-lang/perl[doc?]
75 ${RDEPEND}"
76
77 src_prepare() {
78 # Fix for #404195 - pcre detection is wonky
79 sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
80 }
81
82 src_configure() {
83 myconf="--disable-rpath"
84 use unicode || myconf+=" --without-icu"
85 use ssl || myconf+=" --without-crypto"
86 use gdbm || myconf+=" --without-gdbm"
87 use nls || myconf+=" --without-gettext"
88 use gmp || myconf+=" --without-gmp"
89 use opengl || myconf+=" --without-opengl"
90 use pcre || myconf+=" --without-pcre"
91
92 perl Configure.pl \
93 --ccflags="${CFLAGS}" \
94 --linkflags="${LDFLAGS}" \
95 --prefix="${EPREFIX}"/usr \
96 --libdir="${EPREFIX}"/usr/$(get_libdir) \
97 --mandir="${EPREFIX}"/usr/share/man \
98 --sysconfdir="${EPREFIX}"/etc \
99 --sharedstatedir="${EPREFIX}"/var/lib/parrot \
100 $myconf || die
101 }
102
103 src_compile() {
104 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
105 # occasionally dies in parallel make
106 emake -j1 || die
107 if use doc ; then
108 emake -j1 html || die
109 fi
110 }
111
112 src_test() {
113 emake -j1 test || die
114 }
115
116 src_install() {
117 emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
118 dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
119 if use examples; then
120 insinto "/usr/share/doc/${PF}/examples"
121 doins -r examples/* || die
122 fi
123 if use doc; then
124 insinto "/usr/share/doc/${PF}/editor"
125 doins -r editor || die
126 cd docs/html
127 dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
128 pmc.html tools.html docs src tools || die
129 fi
130 }