[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682046: unblock: django-celery/2.5.5-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please unblock package django-celery

It fixes a FTBFS which occured because it tried to connect to github
while building the documentation. There's now a patch included to
disable this behaviour in the upstream documentation during build,
controllable through an environment variable.

debdiff is attached.

unblock django-celery/2.5.5-2

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAHm4cACgkQeJ3z1zFMUGaWlwCeOSzU2NMNg9St6FGsBQ8kAwlY
VMQAn0nJkOk99UF4ZZDs31HapFrlkhWC
=y/H0
-----END PGP SIGNATURE-----
diff -Nru django-celery-2.5.5/debian/changelog django-celery-2.5.5/debian/changelog
--- django-celery-2.5.5/debian/changelog	2012-05-30 18:00:03.000000000 +0200
+++ django-celery-2.5.5/debian/changelog	2012-07-18 10:15:08.000000000 +0200
@@ -1,3 +1,10 @@
+django-celery (2.5.5-2) unstable; urgency=low
+
+  * Do not build issues by default, they need a network connection. Thanks to
+    Evgeni Golov for the patch! (Closes: #681379)
+
+ -- Michael Fladischer <FladischerMichael@fladi.at>  Wed, 18 Jul 2012 10:14:52 +0200
+
 django-celery (2.5.5-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru django-celery-2.5.5/debian/patches/no-issues.patch django-celery-2.5.5/debian/patches/no-issues.patch
--- django-celery-2.5.5/debian/patches/no-issues.patch	1970-01-01 01:00:00.000000000 +0100
+++ django-celery-2.5.5/debian/patches/no-issues.patch	2012-07-18 10:14:11.000000000 +0200
@@ -0,0 +1,20 @@
+Description: 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.
+Author: Evgeni Golov <evgeni@debian.org>
+Bug-Debian: http://bugs.debian.org/681379
+
+--- django-celery-2.5.5.orig/docs/conf.py
++++ django-celery-2.5.5/docs/conf.py
+@@ -77,6 +77,7 @@ html_sidebars = {
+ }
+ 
+ ### Issuetracker
+-issuetracker = "github"
+-issuetracker_project = "ask/django-celery"
+-issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
++if os.environ.get("DEB_BUILD_ISSUES", False) != "disabled":
++    issuetracker = "github"
++    issuetracker_project = "ask/django-celery"
++    issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
diff -Nru django-celery-2.5.5/debian/patches/series django-celery-2.5.5/debian/patches/series
--- django-celery-2.5.5/debian/patches/series	2012-05-30 18:00:03.000000000 +0200
+++ django-celery-2.5.5/debian/patches/series	2012-07-18 10:14:11.000000000 +0200
@@ -1,2 +1,3 @@
 skip_tests.patch
 fix_dependencies.patch
+no-issues.patch
diff -Nru django-celery-2.5.5/debian/rules django-celery-2.5.5/debian/rules
--- django-celery-2.5.5/debian/rules	2012-05-30 18:00:03.000000000 +0200
+++ django-celery-2.5.5/debian/rules	2012-07-18 10:14:11.000000000 +0200
@@ -12,7 +12,7 @@
 
 .PHONY: override_dh_auto_build
 override_dh_auto_build:
-	PYTHONPATH=. sphinx-build -b html -d .build/.doctrees -N docs .build/html
+	PYTHONPATH=. DEB_BUILD_ISSUES=disabled sphinx-build -b html -d .build/.doctrees -N docs .build/html
 	dh_auto_build
 
 .PHONY: override_dh_compress

Reply to: