From 39e99b03c3bdb85f20423662f9319b0edf0ddc85 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Tue, 7 Feb 2023 22:54:41 -0500 Subject: dev-python/*: update Zope sphinx Signed-off-by: Julien Roy --- .../zope-filerepresentation/zope-filerepresentation-6.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dev-python/zope-filerepresentation') 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 -- cgit v1.2.3