[python-mpop] 08/10: New patch to avoid interner access when generating sphinx doc
Antonio Valentino
a_valentino-guest at moszumanska.debian.org
Sat Feb 6 12:48:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
a_valentino-guest pushed a commit to branch master
in repository python-mpop.
commit 00838cd045ddd02d5d19357bc9157b149f63b55d
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Sat Feb 6 13:16:58 2016 +0100
New patch to avoid interner access when generating sphinx doc
---
debian/changelog | 2 ++
debian/control | 1 +
debian/patches/fix_intersphinx_inventory_path.patch | 10 ++++++++++
debian/patches/series | 1 +
4 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 6d6798b..54789f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ python-mpop (1.2.1-1) UNRELEASED; urgency=medium
. standard version bumped to 3.9.7 (no change)
- fix Vcs-* URLs
- update dependencies
+ * New patch fix_intersphinx_inventory_path.patch to avoid internet
+ access when generating sphinx doc
-- Antonio Valentino <antonio.valentino at tiscali.it> Sun, 22 Mar 2015 18:32:19 +0000
diff --git a/debian/control b/debian/control
index 621151c..42cd35f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9.0.0),
dh-python,
python-setuptools,
python-all,
+ python-doc,
python-numpy,
python-sphinx,
python-h5py,
diff --git a/debian/patches/fix_intersphinx_inventory_path.patch b/debian/patches/fix_intersphinx_inventory_path.patch
new file mode 100644
index 0000000..7721e3a
--- /dev/null
+++ b/debian/patches/fix_intersphinx_inventory_path.patch
@@ -0,0 +1,10 @@
+Index: python-mpop/doc/source/conf.py
+===================================================================
+--- python-mpop.orig/doc/source/conf.py
++++ python-mpop/doc/source/conf.py
+@@ -225,4 +225,4 @@ latex_documents = [
+
+
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None}
++intersphinx_mapping = {'http://docs.python.org/': '/usr/share/doc/python-doc/html/objects.inv'}
diff --git a/debian/patches/series b/debian/patches/series
index 2f09825..b330964 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix-config-path.patch
+fix_intersphinx_inventory_path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-mpop.git
More information about the Pkg-grass-devel
mailing list