[MacPorts] #32147: gnuradio 3.3.0 installs to the wrong site-packages folder

MacPorts noreply at macports.org
Sat Nov 19 20:17:27 PST 2011


#32147: gnuradio 3.3.0 installs to the wrong site-packages folder
-------------------------------------+--------------------------------------
 Reporter:  nicholas.pate@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  2.0.3                                
 Keywords:  gnuradio                 |        Port:  gnuradio                             
-------------------------------------+--------------------------------------
 In Summer 2011, python ports were merged into a single portgroup and the
 site-packages folder for python26 was moved (see
 https://trac.macports.org/wiki/Python). However, gnuradio 3.3.0 and all of
 its component ports (gnuradio-wxgui, etc.) still install to the old
 location, /opt/local/lib/python2.6/site-packages/, where the python
 interpreter cannot find them. The correct site-packages folder, per the
 wiki link above, is
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages.

 Presumably the fix needs to happen in the Portfile, which I suspect is
 hardcoded for the old destination. The correct behavior would be declaring
 the python portgroup and then using the python.pkgd variable, which will
 always point to the correct site-packages. I can't for the life of me
 figure out where the gnuradio Portfile is stored to go look at this
 myself.

 Adding /opt/local/lib/python2.6/site-packages/ to the PYTHONPATH
 environment variable functions as a workaround.

-- 
Ticket URL: <https://trac.macports.org/ticket/32147>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list