diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-11 20:43:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:50 +0200 |
commit | e62b3abda82668cb8884ae974bd4a08f072460b3 (patch) | |
tree | 1ced7a1a5ff7babac62e5822848a3886377f5eec /dev-python/zope-schema | |
parent | dev-python/zope-interface: Use distutils_write_namespace (diff) | |
download | gentoo-e62b3abda82668cb8884ae974bd4a08f072460b3.tar.gz gentoo-e62b3abda82668cb8884ae974bd4a08f072460b3.tar.bz2 gentoo-e62b3abda82668cb8884ae974bd4a08f072460b3.zip |
dev-python/zope-schema: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-schema')
-rw-r--r-- | dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild | 7 |
1 files changed, 1 insertions, 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 b3e6ad9b6e45..3657288c1276 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 } |