Version bump. Thanks to Alexandre Rostovtsev (#307203)
authorTorsten Veller <tove@gentoo.org>
Sun, 25 Apr 2010 07:44:05 +0000 (07:44 +0000)
committerTorsten Veller <tove@gentoo.org>
Sun, 25 Apr 2010 07:44:05 +0000 (07:44 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-lang/parrot/ChangeLog
dev-lang/parrot/parrot-2.3.0.ebuild [new file with mode: 0644]
dev-lang/rakudo/ChangeLog
dev-lang/rakudo/rakudo-2010.04.ebuild [new file with mode: 0644]

index 46c4281f66fa204c133d0c74e9a7510bc3df91b7..383f6a2eb89fa813d0894db82a674267f48d3b7b 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/parrot
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.29 2010/02/28 20:42:07 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/ChangeLog,v 1.30 2010/04/25 07:41:33 tove Exp $
+
+*parrot-2.3.0 (25 Apr 2010)
+
+  25 Apr 2010; Torsten Veller <tove@gentoo.org> +parrot-2.3.0.ebuild:
+  Version bump. Thanks to Alexandre Rostovtsev (#307203)
 
 *parrot-2.1.1 (28 Feb 2010)
 
diff --git a/dev-lang/parrot/parrot-2.3.0.ebuild b/dev-lang/parrot/parrot-2.3.0.ebuild
new file mode 100644 (file)
index 0000000..b2a390b
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-2.3.0.ebuild,v 1.1 2010/04/25 07:41:33 tove Exp $
+
+EAPI=3
+
+inherit eutils multilib
+
+DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
+HOMEPAGE="http://www.parrot.org/"
+SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/supported/${PV}/${P}.tar.bz2"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
+
+RDEPEND="sys-libs/readline
+       opengl? ( virtual/glut )
+       nls? ( sys-devel/gettext )
+       unicode? ( >=dev-libs/icu-2.6 )
+       gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
+       gmp? ( >=dev-libs/gmp-4.1.4 )
+       ssl? ( dev-libs/openssl )
+       pcre? ( dev-libs/libpcre )"
+
+DEPEND="dev-lang/perl[doc?]
+       ${RDEPEND}"
+
+src_configure() {
+       myconf="--disable-rpath"
+       use unicode || myconf+=" --without-icu"
+       use ssl     || myconf+=" --without-crypto"
+       use gdbm    || myconf+=" --without-gdbm"
+       use nls     || myconf+=" --without-gettext"
+       use gmp     || myconf+=" --without-gmp"
+       use opengl  || myconf+=" --without-opengl"
+       use pcre    || myconf+=" --without-pcre"
+
+       perl Configure.pl \
+               --ccflags="${CFLAGS}" \
+               --linkflags="${LDFLAGS}" \
+               --prefix="${EROOT}"/usr \
+               --libdir="${EROOT}"/usr/$(get_libdir) \
+               --sysconfdir="${EROOT}"/etc \
+               --sharedstatedir="${EROOT}"/var/lib/parrot \
+               --pkgconfigdir=pkgconfig \
+               $myconf || die
+}
+
+src_compile() {
+       export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
+       # occasionally dies in parallel make
+       emake -j1 || die
+       if use doc ; then
+               emake -j1 html || die
+       fi
+}
+
+src_test() {
+       emake -j1 test || die
+}
+
+src_install() {
+       emake -j1 install-dev DESTDIR="${ED}" DOC_DIR="${EROOT}/usr/share/doc/${PF}" || die
+       dodoc CREDITS DEPRECATED.pod DONORS.pod NEWS PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
+       if use examples; then
+               insinto "${EROOT}/usr/share/doc/${PF}/examples"
+               doins -r examples/* || die
+       fi
+       if use doc; then
+               insinto "${EROOT}/usr/share/doc/${PF}/editor"
+               doins -r editor || die
+               cd docs/html
+               dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
+                       pmc.html tools.html docs src tools || die
+       fi
+}
index dbe5ba0dd17cf204541c0af44c3729eee7997222..e9df0cd155c9509ba1d0bdd7ecc5927562ff43a3 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/rakudo
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.3 2010/03/02 01:42:52 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/ChangeLog,v 1.4 2010/04/25 07:44:05 tove Exp $
+
+*rakudo-2010.04 (25 Apr 2010)
+
+  25 Apr 2010; Torsten Veller <tove@gentoo.org> +rakudo-2010.04.ebuild:
+  Version bump. Thanks to Alexandre Rostovtsev (#307203)
 
   02 Mar 2010; Patrick Lauer <patrick@gentoo.org> rakudo-2010.02.ebuild:
   Fixing src_install to actually install, fixes #307405
diff --git a/dev-lang/rakudo/rakudo-2010.04.ebuild b/dev-lang/rakudo/rakudo-2010.04.ebuild
new file mode 100644 (file)
index 0000000..b8d0707
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2010.04.ebuild,v 1.1 2010/04/25 07:44:05 tove Exp $
+
+EAPI=3
+
+PARROT_VERSION="2.3.0"
+inherit eutils multilib
+
+DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
+HOMEPAGE="http://rakudo.org/"
+SRC_URI="http://cloud.github.com/downloads/${PN}/${PN}/${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+#DEPEND=">=dev-lang/perl-5.10"
+DEPEND="dev-lang/perl"
+RDEPEND="~dev-lang/parrot-${PARROT_VERSION}[unicode]"
+
+src_configure() {
+       perl Configure.pl || die
+}
+
+src_test() {
+       emake -j1 test || die
+}
+
+src_install() {
+       emake DESTDIR="${ED}" install || die
+
+       dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
+
+       if use doc; then
+               dohtml -A svg docs/architecture.html docs/architecture.svg || die
+               dodoc docs/*.pod || die
+               docinto announce
+               dodoc docs/announce/* || die
+       fi
+}