diff options
Diffstat (limited to 'dev-python/zope-filerepresentation')
-rw-r--r-- | dev-python/zope-filerepresentation/zope-filerepresentation-6.0.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/zope-filerepresentation/zope-filerepresentation-6.0.ebuild b/dev-python/zope-filerepresentation/zope-filerepresentation-6.0.ebuild index cf69443..6dbb2ba 100644 --- a/dev-python/zope-filerepresentation/zope-filerepresentation-6.0.ebuild +++ b/dev-python/zope-filerepresentation/zope-filerepresentation-6.0.ebuild @@ -42,6 +42,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/filerepresentation" || die distutils-r1_src_test |