[MacPorts] #16334: RFE: Make Python more Framework Friendly
MacPorts
noreply at macports.org
Mon Aug 18 17:40:53 PDT 2008
#16334: RFE: Make Python more Framework Friendly
------------------------------------+---------------------------------------
Reporter: mcalhoun at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords:
------------------------------------+---------------------------------------
Comment (by mcalhoun at macports.org):
I agree that what I have proposed is a significant undertaking, but I
think that in the long run it might make thinks easier.
[[BR]]
I have made these changes on my local build, and of the twenty or so
packages which I have tested (which depend on python),
most of them only required minor changes.
[[BR]]
This is a small sample, but it gives me some hope.
I would argue having binaries install into
${prefix}/Library/Frameworks/Python.framework/Versions/2.5/bin
could actually be though of as a good thing.
[[BR]]
It makes conflicts easier to manage.
[[BR]]
py25-numpy, for example, now requires in post-destroot
{{{
move ${destroot}${prefix}/bin/f2py ${destroot}${prefix}/bin/f2py2.5
}}}
but, if installed in the framework directory, would only need
{{{
ln -s ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/bin/f2py
${destroot}${prefix}/bin/f2py2.5
}}}
The actual f2py binaries for the various version are safely separated.
--
Ticket URL: <http://trac.macports.org/ticket/16334#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list