[MacPorts] #47601: libftdi1 @1.2_1: Python package misplaced

MacPorts noreply at macports.org
Wed Apr 29 09:24:42 PDT 2015


#47601: libftdi1 @1.2_1: Python package misplaced
----------------------------+--------------------------------
 Reporter:  ivo.clarysse@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Low             |  Milestone:
Component:  ports           |    Version:  2.3.3
 Keywords:  python          |       Port:  libftdi
----------------------------+--------------------------------
 The libftdi1 subport of the libftdi port installs Python site package
 files in
 {{{
 /opt/local/lib/python2.7/site-packages
 }}}

 instead of
 {{{
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages
 }}}

 As a result, the installed examples fail to import the ftdi1.py module
 installed in the /opt/local/lib/python2.7/site-packages directory:
 {{{
     $ /opt/local/bin/python2.7
 /opt/local/share/libftdi/examples/complete.py
     Traceback (most recent call last):
       File "/opt/local/share/libftdi/examples/complete.py", line 13, in
 <module>
         import ftdi1 as ftdi
     ImportError: No module named ftdi1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47601>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list