[Python-modules-commits] [kombu] 05/08: Add patch disabling intersphinx to prevent network requests during build.

Michael Fladischer fladi at moszumanska.debian.org
Sun Jul 30 21:16:51 UTC 2017


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

fladi pushed a commit to branch debian/experimental
in repository kombu.

commit 702f64cf3aa8c093be0e4cd319e5e3d2d3f12101
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sun Jul 30 22:25:50 2017 +0200

    Add patch disabling intersphinx to prevent network requests during build.
---
 debian/changelog                                     |  2 ++
 .../0002-Disable-intershpinx-mapping-for-now.patch   | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f60d690..0ec02ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ kombu (4.0.2+really4.0.2+dfsg-3) UNRELEASED; urgency=medium
 
   * Remove repack script as upstream has merged the ICC profile removal.
   * Add new upstream signing key.
+  * Add patch disabling intersphinx to prevent network requests during
+    build.
 
  -- Michael Fladischer <fladi at debian.org>  Sun, 30 Jul 2017 21:56:40 +0200
 
diff --git a/debian/patches/0002-Disable-intershpinx-mapping-for-now.patch b/debian/patches/0002-Disable-intershpinx-mapping-for-now.patch
new file mode 100644
index 0000000..b657987
--- /dev/null
+++ b/debian/patches/0002-Disable-intershpinx-mapping-for-now.patch
@@ -0,0 +1,20 @@
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Sun, 30 Jul 2017 22:22:36 +0200
+Subject: Disable intershpinx mapping for now.
+
+The best way to fix network requests when building the documenation would be to
+patch INTERSPHINX_MAPPING in sphinx_celery.conf in src:sphinx-celery.
+---
+ docs/conf.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/docs/conf.py b/docs/conf.py
+index 6fa6917..e97470f 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -28,4 +28,5 @@ globals().update(conf.build_config(
+         'kombu.utils',
+         'kombu.transport.virtual.base',
+     ],
++    intersphinx_mapping={},
+ ))
diff --git a/debian/patches/series b/debian/patches/series
index c13357b..13b8adb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Remove-image-from-remote-donation-site-privacy-issue.patch
+0002-Disable-intershpinx-mapping-for-now.patch

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



More information about the Python-modules-commits mailing list