[MacPorts] #32058: ipe-tools: python variants fail to select the correct python version

MacPorts noreply at macports.org
Sun Nov 13 18:17:16 PST 2011


#32058: ipe-tools:  python variants fail to select the correct python version
---------------------------------+------------------------------------------
 Reporter:  devans@…             |       Owner:  m.thon@…                   
     Type:  defect               |      Status:  new                        
 Priority:  Normal               |   Milestone:                             
Component:  ports                |     Version:  2.0.3                      
 Keywords:                       |        Port:  ipe-tools                  
---------------------------------+------------------------------------------
 As noted by ryandesign following the most recent commit, specifying
 a dependency on a particular flavor of python module is not sufficient to
 ensure that the corresponding python interpreter is invoked.

 In this case, as is, the python script svgtoipe begins with the line
 {{{
 #!/usr/bin/env python
 }}}
 which may resolve to any installed MacPorts version or the system
 installed version depending on which is currently selected as the default.

 The attached patch files propose to fix the problem by patching svgtoipe
 to use the specific path to the desired python version based on the
 variant selected.

 In addition, a tentative fix for the currently broken livecheck function
 is included (based on my understanding of how the port's version number is
 determined -- please correct if I am wrong).

 If you like, I can commit the patch based on your approval and/or
 modifications.

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


More information about the macports-tickets mailing list