diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-11 20:43:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-11 21:58:44 +0200 |
commit | b136c79419e3c5b19d5580cf898de1ce2aa6cf56 (patch) | |
tree | 02502e0135d5fe194c149f025c8ec7055d393212 /dev-python/sphinxcontrib-bibtex | |
parent | dev-python/ruamel-yaml: Use distutils_write_namespace (diff) | |
download | gentoo-b136c79419e3c5b19d5580cf898de1ce2aa6cf56.tar.gz gentoo-b136c79419e3c5b19d5580cf898de1ce2aa6cf56.tar.bz2 gentoo-b136c79419e3c5b19d5580cf898de1ce2aa6cf56.zip |
dev-python/sphinxcontrib-bibtex: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinxcontrib-bibtex')
-rw-r--r-- | dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild index 5d8bcffd2fd0..d63be4fb2ab4 100644 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.4.2.ebuild @@ -37,11 +37,6 @@ python_compile() { } python_test() { - # this is needed to keep the tests working while - # dev-python/namespace-sphinxcontrib is still installed - cat > "${BUILD_DIR}/install$(python_get_sitedir)/sphinxcontrib/__init__.py" <<-EOF || die - __path__ = __import__('pkgutil').extend_path(__path__, __name__) - EOF + distutils_write_namespace sphinxcontrib epytest - rm "${BUILD_DIR}/install$(python_get_sitedir)/sphinxcontrib/__init__.py" || die } |