summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-07 09:55:02 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-07 10:56:51 +0200
commita0187687170c5afc8c7da73af08bc74df1517e09 (patch)
tree94b23531eea0a7218f9bc88a2e2fb521a229aeb6 /dev-python/sphinx
parentapp-admin/sudo: Bump to version 1.9.0_rc4. Removed old (diff)
downloadgentoo-a0187687170c5afc8c7da73af08bc74df1517e09.tar.gz
gentoo-a0187687170c5afc8c7da73af08bc74df1517e09.tar.bz2
gentoo-a0187687170c5afc8c7da73af08bc74df1517e09.zip
dev-python/sphinx: Disable intersphinx
Closes: https://bugs.gentoo.org/721306 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r--dev-python/sphinx/sphinx-3.0.3.ebuild4
1 files changed, 4 insertions, 0 deletions
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
}