[python-fabio] 41/73: fix the FTBFS due to sphinxdoc

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Tue Jan 5 11:34:08 UTC 2016


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

picca pushed a commit to branch master
in repository python-fabio.

commit 271e892fb749039fe5243b47d30710063abb3dcc
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Wed Jan 15 19:31:18 2014 +0100

    fix the FTBFS due to sphinxdoc
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ecde429..805c17e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,11 @@
 
 PY2VERS = $(shell pyversions -r -v)
 
+# to build without sphinxdoc
+WITH_SPHINXDOC = $(shell if [ -x /usr/bin/dh_sphinxdoc ]; then echo "--with sphinxdoc"; fi)
+
 %:
-	dh $@ --with python2,sphinxdoc
+	dh $@ --with python2 $(WITH_SPHINXDOC)
 
 override_dh_clean:
         # remove the cython generated files distributed by upstream

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



More information about the debian-science-commits mailing list