summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-03-18 13:36:53 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-03-18 13:36:53 +0000
commitc591f319d26d73b52d9fe9982dd880ce79b26b7c (patch)
tree9d83b31218469b934528aef2810bfc26f0e2e143 /net-libs/nodejs
parentOnce disable is enough. Thanks to iamnr3 on irc. (diff)
downloadgentoo-2-c591f319d26d73b52d9fe9982dd880ce79b26b7c.tar.gz
gentoo-2-c591f319d26d73b52d9fe9982dd880ce79b26b7c.tar.bz2
gentoo-2-c591f319d26d73b52d9fe9982dd880ce79b26b7c.zip
Bump for #408703
(Portage version: 2.2.0_alpha91/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/nodejs')
-rw-r--r--net-libs/nodejs/ChangeLog8
-rw-r--r--net-libs/nodejs/nodejs-0.6.13.ebuild (renamed from net-libs/nodejs/nodejs-0.6.8.ebuild)25
2 files changed, 25 insertions, 8 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog
index c518877d633e..b628b41f100d 100644
--- a/net-libs/nodejs/ChangeLog
+++ b/net-libs/nodejs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/nodejs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.31 2012/03/07 16:35:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.32 2012/03/18 13:36:53 patrick Exp $
+
+*nodejs-0.6.13 (18 Mar 2012)
+
+ 18 Mar 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.6.13.ebuild,
+ -nodejs-0.6.8.ebuild:
+ Bump for #408703
07 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> nodejs-0.6.12.ebuild:
Move PYTHON_DEPEND before inherit line.
diff --git a/net-libs/nodejs/nodejs-0.6.8.ebuild b/net-libs/nodejs/nodejs-0.6.13.ebuild
index 43207aef777f..f61b9986826e 100644
--- a/net-libs/nodejs/nodejs-0.6.8.ebuild
+++ b/net-libs/nodejs/nodejs-0.6.13.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.6.8.ebuild,v 1.1 2012/01/20 09:21:28 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.6.13.ebuild,v 1.1 2012/03/18 13:36:53 patrick Exp $
-EAPI="2"
+EAPI=3
-inherit eutils pax-utils
+PYTHON_DEPEND="2"
+
+inherit python eutils pax-utils
# omgwtf
RESTRICT="test"
@@ -15,18 +17,27 @@ SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
IUSE=""
-DEPEND=">=dev-lang/v8-3.5.10.22
+DEPEND=">=dev-lang/v8-3.6.6.24
dev-libs/openssl"
RDEPEND="${DEPEND}"
S=${WORKDIR}/node-v${PV}
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/flags = \['-arch', arch\]/s/= .*$/= ''/" wscript || die
+}
+
src_configure() {
# this is a waf confuserator
- ./configure --shared-v8 --prefix=/usr || die
+ ./configure --shared-v8 --prefix="${EPREFIX}"/usr || die
}
src_compile() {
@@ -35,7 +46,7 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die
- pax-mark -m "${D}"/usr/bin/node
+ pax-mark -m "${ED}"/usr/bin/node
}
src_test() {