[Python-modules-commits] [pexpect] 04/06: Set http_proxy='127.0.0.1:9' for sphinx-build to prevent internet access.
Tobias Hansen
thansen at moszumanska.debian.org
Fri Aug 12 13:48:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository pexpect.
commit 61cb26ca92c352d1d2f3230d446147b7c7c3e47c
Author: Tobias Hansen <thansen at debian.org>
Date: Fri Aug 12 13:38:56 2016 +0000
Set http_proxy='127.0.0.1:9' for sphinx-build to prevent internet access.
---
debian/changelog | 3 +++
debian/rules | 7 +++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a07972c..a77f626 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ pexpect (4.2.0-1) UNRELEASED; urgency=medium
* Bump Standards-Version to 3.9.8.
* Bump dh compat to 9.
* Install without *.install files.
+ * Set http_proxy='127.0.0.1:9' for sphinx-build to prevent
+ internet access (Closes: #833860)
+
-- Tobias Hansen <thansen at debian.org> Wed, 10 Aug 2016 14:20:41 +0100
diff --git a/debian/rules b/debian/rules
index 4e2585a..dd20dd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,9 +23,12 @@ test-python3-%:
override_dh_auto_test: $(foreach pyversion,${PYTHON2_VERSIONS},$(pyversion:%=test-python2-%)) $(foreach pyversion,${PYTHON3_VERSIONS},$(pyversion:%=test-python3-%))
endif
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html
+
override_dh_installdocs:
- PYTHONPATH=`pwd` make -C doc html
- dh_installdocs -ppython-pexpect-doc doc/_build/html
+ dh_installdocs -ppython-pexpect-doc build/html
dh_installdocs -A
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pexpect.git
More information about the Python-modules-commits
mailing list