diff options
Diffstat (limited to 'dev-python/zope-tales/zope-tales-5.2.ebuild')
-rw-r--r-- | dev-python/zope-tales/zope-tales-5.2.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/zope-tales/zope-tales-5.2.ebuild b/dev-python/zope-tales/zope-tales-5.2.ebuild index e86e069..b273017 100644 --- a/dev-python/zope-tales/zope-tales-5.2.ebuild +++ b/dev-python/zope-tales/zope-tales-5.2.ebuild @@ -47,6 +47,13 @@ python_compile() { find "${BUILD_DIR}" -name '*.pth' -delete || die } +python_compile_all() { + echo "__path__ = __import__('pkgutil').extend_path(__path__, __name__)" > \ + "${BUILD_DIR}/install$(python_get_sitedir)/zope/__init__.py" || die + build_sphinx docs + rm "${BUILD_DIR}/install$(python_get_sitedir)/zope/__init__.py" +} + src_test() { cd "${S}/src/zope/untrustedpython" || die distutils-r1_src_test |