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 --- dev-python/zope-i18n/zope-i18n-4.9.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dev-python/zope-i18n') diff --git a/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild b/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild index c66dd73..e02e448 100644 --- a/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild +++ b/dev-python/zope-i18n/zope-i18n-4.9.0.ebuild @@ -50,6 +50,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" +} + python_test() { cd "${BUILD_DIR}/install$(python_get_sitedir)" || die distutils_write_namespace zope -- cgit v1.2.3