commit:     a0187687170c5afc8c7da73af08bc74df1517e09
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May  7 07:55:02 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May  7 08:56:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0187687

dev-python/sphinx: Disable intersphinx

Closes: https://bugs.gentoo.org/721306
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx/sphinx-3.0.3.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-python/sphinx/sphinx-3.0.3.ebuild 
b/dev-python/sphinx/sphinx-3.0.3.ebuild
index ea19d76fea3..3154c9ce95a 100644
--- a/dev-python/sphinx/sphinx-3.0.3.ebuild
+++ b/dev-python/sphinx/sphinx-3.0.3.ebuild
@@ -86,6 +86,10 @@ python_prepare_all() {
 @pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on 
pypy3")' \
                tests/test_pycode_parser.py || die
 
+       # disable internet access
+       sed -i -e 's:^intersphinx_mapping:disabled_&:' \
+               doc/conf.py || die
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to