[Python-modules-commits] [celery] 12/13: Add patch disabling intersphinx to prevent network requests during build.

Michael Fladischer fladi at moszumanska.debian.org
Mon Jul 31 16:05:22 UTC 2017


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

fladi pushed a commit to branch debian/master
in repository celery.

commit 950ffbc81b2e40abdd14ccd5f80e27a87402b16b
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Mon Jul 31 17:46:34 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index bf88f9d..1945b18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ celery (4.1.0-1~exp1) UNRELEASED; urgency=low
     - celerybeat
     - celery-multi
   * Reformat packaging files with cme for better readability.
+  * Add patch disabling intersphinx to prevent network requests during
+    build.
 
   [ Brian May ]
   * Apply upstream patch to allow Sphinx to strip memory addresses.
diff --git a/debian/patches/0004-Disable-intershpinx-mapping-for-now.patch b/debian/patches/0004-Disable-intershpinx-mapping-for-now.patch
new file mode 100644
index 0000000..7fc95b5
--- /dev/null
+++ b/debian/patches/0004-Disable-intershpinx-mapping-for-now.patch
@@ -0,0 +1,25 @@
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Mon, 31 Jul 2017 17:45:13 +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 | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/docs/conf.py b/docs/conf.py
+index 5c41900..0a1a215 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -23,9 +23,7 @@ globals().update(conf.build_config(
+         'celery.contrib.sphinx',
+         'celerydocs',
+     ],
+-    extra_intersphinx_mapping={
+-        'cyanide': ('https://cyanide.readthedocs.io/en/latest', None),
+-    },
++    intersphinx_mapping={},
+     apicheck_ignore_modules=[
+         'celery.five',
+         'celery.__main__',
diff --git a/debian/patches/series b/debian/patches/series
index d617195..648792c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 lsb-init.patch
 privacy.patch
 0007-Set-shell-in-su-invocation.patch
+0004-Disable-intershpinx-mapping-for-now.patch

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



More information about the Python-modules-commits mailing list