#44638: doxygen @1.8.7: build fails with old python ---------------------------+--------------------- Reporter: ryandesign@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: tiger leopard | Port: doxygen ---------------------------+--------------------- doxygen 1.8.7 fails to build on Leopard: {{{ /usr/bin/python configgen.py -cpp config.xml
../generated_src/doxygen/configoptions.cpp File "configgen.py", line 563 except Exception as inst: ^ SyntaxError: invalid syntax }}}
Leopard's python is old: {{{ $ /usr/bin/python --version Python 2.5.1 }}} You may need a build dependency on a newer MacPorts-provided python. I see you already do that in the doc variant but I am not using the doc variant. -- Ticket URL: <https://trac.macports.org/ticket/44638> MacPorts <http://www.macports.org/> Ports system for OS X