File: 0001-Patch-intersphinx-configuration-so-there-is-no-netwo.patch

package info (click to toggle)
testpath 0.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 200 kB
  • ctags: 131
  • sloc: python: 475; makefile: 156
file content (20 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 6bf87487d4da6dc3f3dc1473b0c1bb3dc5472a76 Mon Sep 17 00:00:00 2001
From: Julien Puydt <julien.puydt@laposte.net>
Date: Sun, 10 Jul 2016 08:19:52 +0200
Subject: Patch intersphinx configuration so there is no network access even if
 available during package build

---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index dc69acb..693fec9 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -263,4 +263,4 @@ texinfo_documents = [
 
 
 # configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'python': ('http://docs.python.org/3', None)}
+intersphinx_mapping = {'python': ('/usr/share/doc/python3-doc/html', None)}