diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-11 20:43:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:45 +0200 |
commit | dc4750beaaedee1f0f1ea220524ee620edc8db77 (patch) | |
tree | 5fc123713ffe9846ce35f70d7e1a5bb11d333f9f /dev-python/zope-component | |
parent | dev-python/sphinxcontrib-bibtex: Use distutils_write_namespace (diff) | |
download | gentoo-dc4750beaaedee1f0f1ea220524ee620edc8db77.tar.gz gentoo-dc4750beaaedee1f0f1ea220524ee620edc8db77.tar.bz2 gentoo-dc4750beaaedee1f0f1ea220524ee620edc8db77.zip |
dev-python/zope-component: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-component')
-rw-r--r-- | dev-python/zope-component/zope-component-4.4.1-r1.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/zope-component/zope-component-4.4.1-r1.ebuild b/dev-python/zope-component/zope-component-4.4.1-r1.ebuild index 6d9231a1bdf8..acb95d8facf8 100644 --- a/dev-python/zope-component/zope-component-4.4.1-r1.ebuild +++ b/dev-python/zope-component/zope-component-4.4.1-r1.ebuild @@ -49,11 +49,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 } |