[MacPorts] #23009: rst plugin doesn't work

MacPorts noreply at macports.org
Wed Dec 23 20:59:48 PST 2009


#23009: rst plugin doesn't work
-------------------------------+--------------------------------------------
 Reporter:  weakish@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.1                                
 Keywords:                     |        Port:  ikiwiki                              
-------------------------------+--------------------------------------------
 rst plugin doesn't work on Mac OS X 10.4.11

 Error log:

   File "/opt/local/lib/ikiwiki/plugins/rst", line 33
     return dict((k, v) for k, v in zip(*[iter(args)]*2))
                          ^
 SyntaxError: invalid syntax


 I guess this is because the rst plugin uses hard-coded shebang line
 (#!/usr/bin/python) but Mac OS X 10.4 ships Python 2.3.5 which doesn't
 understand Python's iterator comprehension syntax.

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


More information about the macports-tickets mailing list