1 |
commit: 465fabf7cf23dbd486ff9592e403b62221c43035 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 22 02:13:10 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 22 02:13:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=465fabf7 |
7 |
|
8 |
dev-python/sphinx-jinja: fix namespace collision |
9 |
|
10 |
Closes: https://bugs.gentoo.org/829747 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../{sphinx-jinja-1.2.1.ebuild => sphinx-jinja-1.2.1-r1.ebuild} | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
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 |
17 |
similarity index 79% |
18 |
rename from dev-python/sphinx-jinja/sphinx-jinja-1.2.1.ebuild |
19 |
rename to dev-python/sphinx-jinja/sphinx-jinja-1.2.1-r1.ebuild |
20 |
index c3d3744c15b0..95004b796bcd 100644 |
21 |
--- a/dev-python/sphinx-jinja/sphinx-jinja-1.2.1.ebuild |
22 |
+++ b/dev-python/sphinx-jinja/sphinx-jinja-1.2.1-r1.ebuild |
23 |
@@ -21,3 +21,9 @@ KEYWORDS="~amd64" |
24 |
RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" |
25 |
|
26 |
distutils_enable_tests pytest |
27 |
+ |
28 |
+python_install() { |
29 |
+ # Avoid namespace collision: bug #829747 |
30 |
+ rm "${BUILD_DIR}"/lib/sphinxcontrib/__init__.py || die |
31 |
+ distutils-r1_python_install |
32 |
+} |