diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-11 20:43:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:51 +0200 |
commit | 1d67b43d7c61fbd920ba7be986748aa2057b8a7e (patch) | |
tree | 5b907f3aa1181bc8d332b7b9fc4eeaef53e23218 /dev-python/zope-testing | |
parent | dev-python/zope-schema: Use distutils_write_namespace (diff) | |
download | gentoo-1d67b43d7c61fbd920ba7be986748aa2057b8a7e.tar.gz gentoo-1d67b43d7c61fbd920ba7be986748aa2057b8a7e.tar.bz2 gentoo-1d67b43d7c61fbd920ba7be986748aa2057b8a7e.zip |
dev-python/zope-testing: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-testing')
-rw-r--r-- | dev-python/zope-testing/zope-testing-4.10-r1.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/zope-testing/zope-testing-4.10-r1.ebuild b/dev-python/zope-testing/zope-testing-4.10-r1.ebuild index 0ad39021764d..8f8245db3264 100644 --- a/dev-python/zope-testing/zope-testing-4.10-r1.ebuild +++ b/dev-python/zope-testing/zope-testing-4.10-r1.ebuild @@ -38,11 +38,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 } |