diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-10 11:46:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:41 +0200 |
commit | b711a2572cd074ebb71c58e934fa82d7e19802d6 (patch) | |
tree | fd6fc98050993508c0f9cc24652cc95be73c8e5e /dev-python/ruamel-std-pathlib | |
parent | distutils-r1.eclass: Introduce distutils_write_namespace (diff) | |
download | gentoo-b711a2572cd074ebb71c58e934fa82d7e19802d6.tar.gz gentoo-b711a2572cd074ebb71c58e934fa82d7e19802d6.tar.bz2 gentoo-b711a2572cd074ebb71c58e934fa82d7e19802d6.zip |
dev-python/ruamel-std-pathlib: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ruamel-std-pathlib')
-rw-r--r-- | dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2-r1.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2-r1.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2-r1.ebuild index 7ebe0572a78b..ada76ed82820 100644 --- a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2-r1.ebuild +++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.9.2-r1.ebuild @@ -30,11 +30,6 @@ python_compile() { } python_test() { - # this is needed to keep the tests working while - # dev-python/namespace-ruamel is still installed - cat > "${BUILD_DIR}/install$(python_get_sitedir)"/ruamel/__init__.py <<-EOF || die - __path__ = __import__('pkgutil').extend_path(__path__, __name__) - EOF + distutils_write_namespace ruamel epytest - rm "${BUILD_DIR}/install$(python_get_sitedir)"/ruamel/__init__.py || die } |