Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 280181 Details for
Bug 370967
net-libs/nodejs with python3.1 - invalid syntax
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for node working with python3 as the default python.
0001-nodejs-0.4.9-fix.patch (text/plain), 1.39 KB, created by
Daniel Robbins
on 2011-07-16 17:41:41 UTC
(
hide
)
Description:
fix for node working with python3 as the default python.
Filename:
MIME Type:
Creator:
Daniel Robbins
Created:
2011-07-16 17:41:41 UTC
Size:
1.39 KB
patch
obsolete
>From af3654633c4951d5594c58a8cd3601f3e99679a2 Mon Sep 17 00:00:00 2001 >From: Daniel Robbins <drobbins@funtoo.org> >Date: Sat, 16 Jul 2011 17:40:09 +0000 >Subject: [PATCH] nodejs-0.4.9 fix > >--- > net-libs/nodejs/nodejs-0.4.9.ebuild | 16 +++++++++++++--- > 1 files changed, 13 insertions(+), 3 deletions(-) > >diff --git a/net-libs/nodejs/nodejs-0.4.9.ebuild b/net-libs/nodejs/nodejs-0.4.9.ebuild >index 25ef5f4..ee93543 100644 >--- a/net-libs/nodejs/nodejs-0.4.9.ebuild >+++ b/net-libs/nodejs/nodejs-0.4.9.ebuild >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.4.9.ebuild,v 1.1 2011/07/02 15:53:57 patrick Exp $ > >-EAPI="2" >+EAPI="3" > > inherit eutils > >@@ -15,15 +15,25 @@ SRC_URI="http://nodejs.org/dist/node-v${PV}.tar.gz" > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="~x86 ~amd64" >+KEYWORDS="x86 amd64" > IUSE="" > > DEPEND=">=dev-lang/v8-2.5.9.6-r1 >- dev-libs/openssl" >+ dev-libs/openssl >+ =dev-lang/python-2*" > RDEPEND="${DEPEND}" > > S=${WORKDIR}/node-v${PV} > >+src_prepare() { >+ cd ${S} >+ for x in $(grep -r "/usr/bin/env python" * | cut -f1 -d":" ); do >+ einfo "Tweaking $x for python2..." >+ sed -e "s:/usr/bin/env python:/usr/bin/env python2:g" -i $x || die >+ done >+ sed -e "s/python/python2/g" -i Makefile || die >+} >+ > src_configure() { > # this is a waf confuserator > ./configure --shared-v8 --prefix=/usr || die >-- >1.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 370967
:
276569
|
276667
| 280181