diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-11 20:43:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:45 +0200 |
commit | f8564dea7520cee34f0735a9ab0c875fa0ac49dd (patch) | |
tree | 14b08e0fa20020beefa2252d535732a8810d8491 | |
parent | dev-python/zope-component: Use distutils_write_namespace (diff) | |
download | gentoo-f8564dea7520cee34f0735a9ab0c875fa0ac49dd.tar.gz gentoo-f8564dea7520cee34f0735a9ab0c875fa0ac49dd.tar.bz2 gentoo-f8564dea7520cee34f0735a9ab0c875fa0ac49dd.zip |
dev-python/zope-configuration: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild index 28d09ca112b4..a176c8e70382 100644 --- a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild +++ b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild @@ -51,11 +51,6 @@ python_compile() { python_test() { cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - # this is needed to keep the tests working while - # dev-python/namespace-zope is still installed - cat > zope/__init__.py <<-EOF || die - __path__ = __import__('pkgutil').extend_path(__path__, __name__) - EOF + distutils_write_namespace zope eunittest - rm zope/__init__.py || die } |