* Generation of documentation make -j5 'SPHINXBUILD=python3.2 ../sphinx-build.py' html python3.2 ../sphinx-build.py -b html -d _build/doctrees . _build/html Traceback (most recent call last): File "../sphinx-build.py", line 15, in <module> sys.exit(main(sys.argv)) File "/var/tmp/portage/dev-python/sphinx-1.1.3-r2/work/Sphinx-1.1.3/sphinx/__init__.py", line 47, in main from sphinx import cmdline File "/var/tmp/portage/dev-python/sphinx-1.1.3-r2/work/Sphinx-1.1.3/sphinx/cmdline.py", line 198 except Exception, err: ^ SyntaxError: invalid syntax make: *** [html] Error 1 * ERROR: dev-python/sphinx-1.1.3-r2 failed (compile phase): Looks like sphinx-build.py is using the original source and not the modified code in Sphinx-1.1.3/build-3.2/lib/sphinx.
Same here. But it doesn't work with python-2.7 selected by eselect during build. Chris, does it work for you then?
This package is really starting to irritate me...
+ 03 Apr 2012; Mike Gilbert <floppym@gentoo.org> sphinx-1.1.3-r2.ebuild: + Fix generation of docs with python 3. Solution copied from Progress overlay. +