Python 3.0 gone?

Bryan Blackburn blb at macports.org
Sun Mar 1 20:50:30 PST 2009


On Mon, Mar 02, 2009 at 05:12:45AM +0100, Rasmus Andersson said:
[...]
> 
> It is not a valid argument in the Python 3.0 I have got from MacPorts.
> Was this patched recently? (my installation might be about a month
> old)

Yeah, your python30 install is old, vast improvements were made in r46197
[1] and the revision increased in r46199 [2].  Those improvements do include
the better framework build and --no-user-cfg.  I've reverted the
python30-1.0.tcl change, as py30-tc installs fine with one change:

tc's setup.py has hardcoded /opt/local so that needs to be changed in the
py*-tc Portfiles, I used:

post-patch {
	reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/setup.py
}

After that py30-tc installed without issues into
${prefix}/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages

Bryan

[1] - <http://trac.macports.org/changeset/46197>
[2] - <http://trac.macports.org/changeset/46199>

> 
> Gonna test this out more tomorrow – please, be my guest and fix if you
> want to. There is a python30 port you can test with: py30-tc
> 
> (It's 5 am here and I'm gonna go to work in 3 hours. yikes!)
> 
> 
> -- 
> Rasmus Andersson


More information about the macports-dev mailing list