From a0187687170c5afc8c7da73af08bc74df1517e09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 7 May 2020 09:55:02 +0200 Subject: [PATCH] dev-python/sphinx: Disable intersphinx MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/721306 Signed-off-by: Michał Górny --- 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 ea19d76fea3f..3154c9ce95ac 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 } -- 2.26.2