summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-22 02:13:10 +0000
committerSam James <sam@gentoo.org>2021-12-22 02:13:10 +0000
commit465fabf7cf23dbd486ff9592e403b62221c43035 (patch)
treeec1370ba149c72d55e9da094f621f539deb65ca2 /dev-python/sphinx-jinja
parentnet-libs/mbedtls: Stabilize 2.28.0-r1 sparc, #829713 (diff)
downloadgentoo-465fabf7cf23dbd486ff9592e403b62221c43035.tar.gz
gentoo-465fabf7cf23dbd486ff9592e403b62221c43035.tar.bz2
gentoo-465fabf7cf23dbd486ff9592e403b62221c43035.zip
dev-python/sphinx-jinja: fix namespace collision
Closes: https://bugs.gentoo.org/829747 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/sphinx-jinja')
-rw-r--r--dev-python/sphinx-jinja/sphinx-jinja-1.2.1-r1.ebuild (renamed from dev-python/sphinx-jinja/sphinx-jinja-1.2.1.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/sphinx-jinja/sphinx-jinja-1.2.1.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-1.2.1-r1.ebuild
index c3d3744c15b0..95004b796bcd 100644
--- a/dev-python/sphinx-jinja/sphinx-jinja-1.2.1.ebuild
+++ b/dev-python/sphinx-jinja/sphinx-jinja-1.2.1-r1.ebuild
@@ -21,3 +21,9 @@ KEYWORDS="~amd64"
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
+
+python_install() {
+ # Avoid namespace collision: bug #829747
+ rm "${BUILD_DIR}"/lib/sphinxcontrib/__init__.py || die
+ distutils-r1_python_install
+}