[MacPorts] #30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 --------------------------------------+------------------------------------- Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: science | Port: pymol --------------------------------------+------------------------------------- The attached Portfile.diff and pymol_numpy.diff patch switches pymol from using Numeric to using py26-numpy and py26-scipy instead. The Portfile.diff also switches the build compilers to clang/clang++ on darwin11. -- Ticket URL: <https://trac.macports.org/ticket/30331> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 --------------------------------------+------------------------------------- Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: haspatch | Port: pymol --------------------------------------+------------------------------------- Changes (by ryandesign@…): * keywords: science => haspatch -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 --------------------------------------+------------------------------------- Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: haspatch | Port: pymol --------------------------------------+------------------------------------- Comment(by macsforever2000@…): Using this diff, I see the following error. {{{ ---> Applying /opt/mports/trunk/dports/science/pymol/files/setup_py.diff patching file setup.py Hunk #2 FAILED at 115. 1 out of 3 hunks FAILED -- saving rejects to file setup.py.rej }}} -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 --------------------------------------+------------------------------------- Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: haspatch | Port: pymol --------------------------------------+------------------------------------- Comment(by howarth@…): I'll look into this issue later this evening. -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 --------------------------------------+------------------------------------- Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: haspatch | Port: pymol --------------------------------------+------------------------------------- Comment(by howarth@…): Sorry about that. This ticket needs the Portfile.diff applied and the replacement setup_py.diff used. Again the current svn of pymol no longer requires the pymol_numpy.diff file (but these forms don't allow files to be deleted from a Ticket). -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 ---------------------------------------+------------------------------------ Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: haspatch Port: pymol | ---------------------------------------+------------------------------------ Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: r82138 -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 ---------------------------------------+------------------------------------ Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: haspatch Port: pymol | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: closed => reopened * resolution: fixed => Comment: Why clang on Darwin 11? Is it that you don't want to use llvm-gcc-4.2? If so, then that's what you should test for. If you want to be more selective than that, test the Xcode version, not the Mac OS X version. Several recent commits show examples of this. Why disable archflags for clang? Clang understands archflags. Only MacPorts gcc compilers don't. I really wish this port would use configure.compiler. Consider the attached patch. -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 ---------------------------------------+------------------------------------ Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: haspatch Port: pymol | ---------------------------------------+------------------------------------ Comment(by howarth@…): Have you actually tried to build the gcc4x variants with your patch. This simply won't work...[[BR]] [[BR]] https://trac.macports.org/ticket/29345 [[BR]] due to the use of the setup.py build method, CC and CXX '''must''' to appear before setup.py. Only the use of build.env achieves this[[BR]] The use of configure.compiler will place CC/CXX after setup.py and they won't be honored in the build. -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 ---------------------------------------+------------------------------------ Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: | Keywords: haspatch Port: pymol | ---------------------------------------+------------------------------------ Comment(by ryandesign@…): Yes, I did try it—not all the way through, but enough to see that it was building with the compiler I asked for. Did you read my patch? I'm not removing the use of build.env. -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30331: switch pymol from numeric to numpy/scipy as well as clang on darwin11 ---------------------------------------+------------------------------------ Reporter: howarth@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: haspatch Port: pymol | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: These changes got included in r90200. -- Ticket URL: <https://trac.macports.org/ticket/30331#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts