[Python-modules-commits] [elib.intl] 01/01: Make sphinxdoc stops accessing the internet during build.

Hugo Lefeuvre hle at moszumanska.debian.org
Sun Oct 9 09:59:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

hle pushed a commit to branch master
in repository elib.intl.

commit df4abc5675b0bc3ee1b1b8b0bcacf7ad05a01a13
Author: Hugo Lefeuvre <hle at debian.org>
Date:   Sat Oct 8 15:49:59 2016 +0200

    Make sphinxdoc stops accessing the internet during build.
---
 debian/changelog                                |  8 ++++++++
 debian/control                                  |  2 +-
 debian/patches/fix-sphinxdoc-intermapping.patch | 11 +++++++++++
 debian/patches/series                           |  1 +
 4 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a2ded96..1c5546d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+elib.intl (0.0.3~git20110809-5) unstable; urgency=medium
+
+  * Team upload.
+  * Add debian/patches/fix-sphinxdoc-intermapping.patch:
+    - Makes sphinxdoc stops accessing internet during build (Closes: #830551).
+
+ -- Hugo Lefeuvre <hle at debian.org>  Sat, 08 Oct 2016 15:42:38 +0200
+
 elib.intl (0.0.3~git20110809-4) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/control b/debian/control
index 562931b..eec0959 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Jonathan Wiltshire <jmw at debian.org>
-Build-Depends: python-all (>= 2.6.6-3~), dh-python, debhelper (>= 9~), python-sphinx, python-setuptools (>= 0.6c11), python-nose
+Build-Depends: python-all (>= 2.6.6-3~), dh-python, debhelper (>= 9~), python-sphinx, python-setuptools (>= 0.6c11), python-nose, python-doc
 Standards-Version: 3.9.8
 Homepage: https://github.com/dieterv/elib.intl
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/elib.intl.git
diff --git a/debian/patches/fix-sphinxdoc-intermapping.patch b/debian/patches/fix-sphinxdoc-intermapping.patch
new file mode 100644
index 0000000..9c23c5b
--- /dev/null
+++ b/debian/patches/fix-sphinxdoc-intermapping.patch
@@ -0,0 +1,11 @@
+Subject: Replace Python doc address by a local path.
+Author: Hugo Lefeuvre <hle at debian.org>
+Last-Update: 2016-10-08
+--- a/doc/reference/conf.py	2016-10-08 15:34:40.067007667 +0200
++++ b/doc/reference/conf.py	2016-10-08 15:45:45.697804676 +0200
+@@ -206,4 +206,4 @@
+ 
+ 
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None}
++intersphinx_mapping = {'/usr/share/doc/python-doc/html': None}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a2135e6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-sphinxdoc-intermapping.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/elib.intl.git



More information about the Python-modules-commits mailing list