python2.5 has wrong value for distutils.sysconfig.get_config_var("PYTHON")

Blair Zajac blair at orcaware.com
Tue May 1 18:12:14 PDT 2007


David Glasser wrote:
> On 5/1/07, Blair Zajac <blair at orcaware.com> wrote:
>> Can you write a quick patch for the python2.5 Portfile to do what you're
>> referring to here?
> 
> Working on it.  I've never been so good about understanding how to
> test my own Portfiles though --- I mean, I know I can just put
> Portfile in a random directory and type "port install", but how do I
> make it forget completely about my version and upgrade to the "real"
> version once my patch has been accepted by MacPorts?

I use the port at the same revision number as the official port, then 
uninstall the current version, put my local port repository in 
$prefix/etc/ports/sources.conf as a file:/// before the rsync one, then 
use portindex.  When I'm happy, I submit it upstream with a bump in 
revision and move the port out of my local repository (say into a 
retired ports directory that MacPorts doesn't nsee), since it shadows 
the main one.

> (About the issue itself: it looks like this actually requires patching
> the Makefile, since PYTHON is not actually a configure argument.
> Ugh.)
> 
> (BTW Blair, this is to get David James' svn ctypes stuff working.)

Cool.  That'll be nice to get in.

Regards,




More information about the macports-dev mailing list