mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/sphinxcontrib-bibtex: Use distutils_write_namespace
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user