[MacPorts] #19442: librsvg incompatible with Python 3
MacPorts
noreply at macports.org
Sun Apr 26 06:45:57 PDT 2009
#19442: librsvg incompatible with Python 3
----------------------------+-----------------------------------------------
Reporter: gale@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: librsvg
----------------------------+-----------------------------------------------
The python script rsvg uses the shell bang
{{{
#!/usr/bin/env python
}}}
to access the python interpreter. So it gets whatever version
of python is currently selected as current in MacPorts. But
this script is not compatible with version >= 3.0 of Python:
the script contains a print statement, but print has changed
to a function in version >= 3.0 of Python. There may be
additional incompatibilities, I have not checked.
Note that this also implies that this port has a runtime
dependency on Python which is missing from the portfile.
See also #19441.
--
Ticket URL: <http://trac.macports.org/ticket/19442>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list