Python 3.0 gone?

Rasmus Andersson rasmus at macports.org
Mon Mar 2 00:53:15 PST 2009


On Mon, Mar 2, 2009 at 05:50, Bryan Blackburn <blb at macports.org> wrote:
> 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>

Thanks Bryan – both for the info and for the quick revert of the group file.

(Did a clean install, installing everything from scratch, and it
worked like a charm).

Have a great day everyone!

>
>>
>> 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!)
>>


More information about the macports-dev mailing list