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