[Python-modules-commits] [mutagen] 10/11: Fix docs patch for using system inventory, and disable network access.
Tristan Seligmann
mithrandi at moszumanska.debian.org
Sat Jul 16 16:29:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
mithrandi pushed a commit to branch master
in repository mutagen.
commit 0b0eaad4187d024ad2b98bfc83e13bf1904d7802
Author: Tristan Seligmann <mithrandi at debian.org>
Date: Sat Jul 16 18:24:14 2016 +0200
Fix docs patch for using system inventory, and disable network access.
---
debian/changelog | 1 +
debian/rules | 15 ++++++++++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 411cfd9..f4569d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
mutagen (1.33.2-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Fix docs patch for using system inventory, and disable network access.
-- Tristan Seligmann <mithrandi at debian.org> Sat, 16 Jul 2016 17:43:34 +0200
diff --git a/debian/rules b/debian/rules
index 4f56a5c..f9c88cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,22 @@ export PYTHONDONTWRITEBYTECODE=yes
export LC_ALL=C.UTF-8
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+SPHINXDOC=,sphinxdoc
+else
+SPHINXDOC=
+endif
%:
- dh $@ --with python2,python3,pypy,sphinxdoc --buildsystem=pybuild
+ dh $@ --with python2,python3,pypy$(SPHINXDOC) --buildsystem=pybuild
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. \
+ http_proxy='127.0.0.1:9' \
+ https_proxy='127.0.0.1:9' \
+ sphinx-build -N -b html docs/ $(CURDIR)/.pybuild/docs/html/
+endif
override_dh_auto_build:
dh_auto_build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/mutagen.git
More information about the Python-modules-commits
mailing list