Opened 12 years ago

Closed 12 years ago

#32429 closed enhancement (fixed)

nodejs @0.6.3 patch for python26 variant

Reported by: spreng@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc:
Port: nodejs

Description

Hi, I use Macport's Python 2.6 as the default Python version on my host (OSX Lion, x86_64, Xcode 4.1). I've seen that the nodejs port is depending on python27 and doesn't offer any other Python variants. Therefore I've created a patch to the Portfile to be able to choose between python26 and python27 (default). I can confirm that it will compile fine using python26.

Cheeers,

Tom.

Attachments (1)

Portfile-nodejs.diff (1.6 KB) - added by spreng@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by spreng@…

Attachment: Portfile-nodejs.diff added

comment:1 Changed 12 years ago by spreng@…

Cc: spreng@… added

Cc Me!

comment:2 in reply to:  description Changed 12 years ago by spreng@…

Forgot to add the port maintainer to the cc: field: ciserlohn@…

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: spreng@… removed
Owner: changed from macports-tickets@… to ciserlohn@…
Port: nodejs added

nodejs-devel should be considered at the same time.

Instead of inventing this new py_bin variable, we should probably use the existing variable designed to hold this value: configure.python

Note that the current version of the nodejs port is already 0.6.5, not 0.6.3; "sudo port selfupdate" to get this and other updates.

comment:4 Changed 12 years ago by ci42

Resolution: fixed
Status: newclosed

As of node version 0.6.7 python variants for python 2.5, 2.6 and 2.7 (default) are supported (see r88659).

@Ryan nodejs-devel is intentionally left out. It is currently outdated and it is not clear whether or not there will be a new development (0.7) branch in the future. I'm considering to replace nodejs-devel with the regular nodejs port.

Note: See TracTickets for help on using tickets.