summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-11 20:43:55 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-11 21:58:49 +0200
commit6ee56f868d6f06d19c8cb8baa9d3919591a1d223 (patch)
tree3278db8f6de1ff638efa71a5995bd8eeabc6ad94 /dev-python/zope-interface
parentdev-python/zope-i18nmessageid: Use distutils_write_namespace (diff)
downloadgentoo-6ee56f868d6f06d19c8cb8baa9d3919591a1d223.tar.gz
gentoo-6ee56f868d6f06d19c8cb8baa9d3919591a1d223.tar.bz2
gentoo-6ee56f868d6f06d19c8cb8baa9d3919591a1d223.zip
dev-python/zope-interface: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-interface')
-rw-r--r--dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild
index 52e20bfda75f..955faef03f65 100644
--- a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild
+++ b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild
@@ -46,11 +46,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
}