From e23a94b0f330d57b190cfb209e9cc5f76b186d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 11 Apr 2022 20:43:52 +0200 Subject: [PATCH] dev-python/zope-deprecation: Use distutils_write_namespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../zope-deprecation/zope-deprecation-4.4.0-r1.ebuild | 7 +------ 1 file changed, 1 insertion(+), 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 3aa022b615494..3e1bd14058bd6 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 }