diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-11 20:43:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:48 +0200 |
commit | 45bb9dfded885da22a1c99b0158ca9b105e15903 (patch) | |
tree | a3117e069b53b9e006973f26f339c98bea88fa90 /dev-python/zope-exceptions | |
parent | dev-python/zope-event: Use distutils_write_namespace (diff) | |
download | gentoo-45bb9dfded885da22a1c99b0158ca9b105e15903.tar.gz gentoo-45bb9dfded885da22a1c99b0158ca9b105e15903.tar.bz2 gentoo-45bb9dfded885da22a1c99b0158ca9b105e15903.zip |
dev-python/zope-exceptions: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-exceptions')
-rw-r--r-- | dev-python/zope-exceptions/zope-exceptions-4.5.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild index 7e70344cb57e..912c26d00ee7 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild @@ -40,11 +40,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 } |