[MacPorts] #13626: Allow for the use of built-in Python 2.5 in Leopard
#13626: Allow for the use of built-in Python 2.5 in Leopard -----------------------------+---------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 1.6.0 Keywords: | -----------------------------+---------------------------------------------- Since Leopard comes with Python 2.5.1 installed, why not create a variant allowing for the use of this built-in python? I've created an example using py25-wxpython, and will attach the Portfile diff that does this. Also note that I've added a post-destroot command to create links which allow for python to import the provided wx properly (separate issue). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ------------------------------+--------------------------------------------- Changes (by jmpp@macports.org): * milestone: => Port Enhancements -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: ------------------------------+--------------------------------------------- Comment (by ryandesign@macports.org): In general, MacPorts deliberately does not use system libraries/binaries. Please read the [wiki:FAQ#WhyisMacPortsusingitsownlibraries FAQ]. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13626#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: ------------------------------+--------------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => wontfix Comment: This issue is not specific to Leopard, as Panther and Tiger also has [http://www.pythonmac.org/packages/ packages]... But it's by design. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: ------------------------------+--------------------------------------------- Comment (by mdickens@nd.edu): My original purpose was to allow anyone to use the built-in Framework install of Python 2.5.1, since MacPorts (still) doesn't provide one - and the Framework version is what I (and others) require to do our work. I can understand why MacPorts doesn't make use of most of the built-in Apple-provided libraries / binaries, but it's always good to have an interim solution while MacPorts catches up. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: ------------------------------+--------------------------------------------- Comment (by mww@macports.org): The framework build of Python is not required for anything. It is just that someone upstream decided that IF you want the pythonw wrapper (etc.) you HAVE TO build a framework. Unfortunately it is a pain to un-framework- ify Python, not clear how to set which architectures to build for (x86_64???) etc.;[[BR]] The problem is the mindboggingly configuration setup IF you enable the framework build. If you add ''-enable-framework'', you get hit by hard- coded stuff. If someone would mind fixing this, we could all be happy. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: ------------------------------+--------------------------------------------- Comment (by mdickens@nd.edu): Ummm ... I really don't follow you. When I configure Python with ''-enable-framework'', assuming I have my shell environment setup correctly, then I get a framework install that works just fine ... pretty much the same as what Apple provides AFAICT. Could you explain why one would want to un-framework-ify a framework on MacOS X, where frameworks are the norm? Could you also explain the "hard-coded stuff" to which you refer? How does one in OSX decide which architecture to build for? Can we even choose between x86_32 and x86_64? If I can understand what your issue are, I might be able to help out. All of that said, has anyone tried out the tarball I provided for ticket #11267? In my testing, it provides a Python install correctly on Darwin 8 and 9, framework or no framework (but not both). For what I do, I require the GUI-capable Python - which if that means I have to have a framework, then I'll figure out a way to make it happen ... which, I thought, is what I did. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13626: Allow for the use of built-in Python 2.5 in Leopard ------------------------------+--------------------------------------------- Reporter: mdickens@nd.edu | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: ------------------------------+--------------------------------------------- Comment (by mdickens@nd.edu): Replying to [comment:5 mww@macports.org]:
The framework build of Python is not required for anything. It is just that someone upstream decided that IF you want the pythonw wrapper (etc.) you HAVE TO build a framework. Unfortunately it is a pain to un-framework- ify Python, not clear how to set which architectures to build for (x86_64???) etc.;[[BR]] The problem is the mindboggingly configuration setup IF you enable the framework build. If you add ''-enable-framework'', you get hit by hard- coded stuff. If someone would mind fixing this, we could all be happy.
Is it your desire to allow for GUI-capable Python without the Framework? Why would one want to do that, when the Framework version works just fine the way it is? So what if the 'include's and 'lib's are installed in a 'strange' location ... Apple's GCC handles that just fine with the '-framework' flag. Why fix it if it ain't broke? In working on the latest python25 port tarball in ticket #11267, I think it is possible to create variants for doing 32-bit or 64-bit application / libraries (or both), using the "-arch" option in Apple's GCC. I believe that everything is controller by the top-level 'configure' script, which can easily be patched for different '-arch' types ... but this would then require +universal variant to work ... which requires some patches in Darwin 9 / OSX 10.5. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13626#comment:7> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts