From e62b3abda82668cb8884ae974bd4a08f072460b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 11 Apr 2022 20:43:56 +0200 Subject: [PATCH] dev-python/zope-schema: 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 --- dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild b/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild index b3e6ad9b6e45d..3657288c12764 100644 --- a/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild +++ b/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild @@ -48,11 +48,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 }