summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nodejs/ChangeLog5
-rw-r--r--net-libs/nodejs/nodejs-0.6.12.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog
index a19866663a6e..676ece2e8489 100644
--- a/net-libs/nodejs/ChangeLog
+++ b/net-libs/nodejs/ChangeLog
@@ -1,6 +1,9 @@
# 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.29 2012/03/05 06:37:08 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.30 2012/03/07 12:08:09 patrick Exp $
+
+ 07 Mar 2012; Patrick Lauer <patrick@gentoo.org> nodejs-0.6.12.ebuild:
+ Nail down python version for reality-challenged build system #407259
*nodejs-0.6.12 (05 Mar 2012)
diff --git a/net-libs/nodejs/nodejs-0.6.12.ebuild b/net-libs/nodejs/nodejs-0.6.12.ebuild
index c7fa080af91e..6ba7d31c0328 100644
--- a/net-libs/nodejs/nodejs-0.6.12.ebuild
+++ b/net-libs/nodejs/nodejs-0.6.12.ebuild
@@ -1,10 +1,10 @@
# 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.12.ebuild,v 1.1 2012/03/05 06:37:08 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.6.12.ebuild,v 1.2 2012/03/07 12:08:09 patrick Exp $
EAPI="3"
-inherit eutils pax-utils
+inherit python eutils pax-utils
PYTHON_DEPEND="2"
# omgwtf
@@ -25,6 +25,10 @@ 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
}