[Python-modules-commits] [django-celery] 04/10: Do not build issues if DEB_BUILD_ISSUES=disabled

Michael Fladischer fladi at moszumanska.debian.org
Mon Oct 19 07:17:46 UTC 2015


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

fladi pushed a commit to annotated tag debian/3.1.17-1
in repository django-celery.

commit a7d0ce1deda0699343099a02c25fe55dc98c010d
Author: Evgeni Golov <evgeni at debian.org>
Date:   Thu Oct 8 08:50:26 2015 -0700

    Do not build issues if DEB_BUILD_ISSUES=disabled
    
       Building the issues via sphinxcontrib.issuetracker requires
       a network connection which is not available on Debian
       buildds.
    Bug-Debian: http://bugs.debian.org/681379
    Patch-Name: no-issues.patch
---
 docs/conf.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index fad2a07..7d12486 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -81,6 +81,7 @@ html_sidebars = {
 }
 
 # ## Issuetracker
-issuetracker = 'github'
-issuetracker_project = 'celery/django-celery'
-issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
+if os.environ.get("DEB_BUILD_ISSUES", False) != "disabled":
+    issuetracker = 'github'
+    issuetracker_project = 'celery/django-celery'
+    issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'

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



More information about the Python-modules-commits mailing list