--- /usr/portage/dev-python/sphinx/sphinx-1.2.1.ebuild 2014-01-22 14:19:53.000000000 +0100 +++ sphinx-1.2.1.ebuild 2014-01-24 16:24:35.833152856 +0100 @@ -49,7 +49,7 @@ } python_compile_all() { - use doc && emake -C doc SPHINXBUILD="${PYTHON} -m sphinx.__init__" html + use doc && emake -C doc SPHINXBUILD='"${PYTHON}" "${S}/sphinx-build.py"' html } python_test() {