summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-11 20:43:52 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-11 21:58:46 +0200
commite23a94b0f330d57b190cfb209e9cc5f76b186d68 (patch)
tree611eb83fa68af78359a1a80fc64e051d13e578c5 /dev-python/zope-deprecation
parentdev-python/zope-configuration: Use distutils_write_namespace (diff)
downloadgentoo-e23a94b0f330d57b190cfb209e9cc5f76b186d68.tar.gz
gentoo-e23a94b0f330d57b190cfb209e9cc5f76b186d68.tar.bz2
gentoo-e23a94b0f330d57b190cfb209e9cc5f76b186d68.zip
dev-python/zope-deprecation: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-deprecation')
-rw-r--r--dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild b/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild
index 3aa022b61549..3e1bd14058bd 100644
--- a/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild
+++ b/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild
@@ -37,11 +37,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
}