1 |
commit: a0187687170c5afc8c7da73af08bc74df1517e09 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 7 07:55:02 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 7 08:56:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0187687 |
7 |
|
8 |
dev-python/sphinx: Disable intersphinx |
9 |
|
10 |
Closes: https://bugs.gentoo.org/721306 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/sphinx/sphinx-3.0.3.ebuild | 4 ++++ |
14 |
1 file changed, 4 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinx/sphinx-3.0.3.ebuild b/dev-python/sphinx/sphinx-3.0.3.ebuild |
17 |
index ea19d76fea3..3154c9ce95a 100644 |
18 |
--- a/dev-python/sphinx/sphinx-3.0.3.ebuild |
19 |
+++ b/dev-python/sphinx/sphinx-3.0.3.ebuild |
20 |
@@ -86,6 +86,10 @@ python_prepare_all() { |
21 |
@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on pypy3")' \ |
22 |
tests/test_pycode_parser.py || die |
23 |
|
24 |
+ # disable internet access |
25 |
+ sed -i -e 's:^intersphinx_mapping:disabled_&:' \ |
26 |
+ doc/conf.py || die |
27 |
+ |
28 |
distutils-r1_python_prepare_all |
29 |
} |