[Python-modules-commits] [python-amqp] 01/02: Set http(s) proxy to localhost during doc build

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Sun Mar 19 11:19:55 UTC 2017


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

mans0954 pushed a commit to branch debian/experimental
in repository python-amqp.

commit c1d45bfd79315e8a520f297927f388660c01002e
Author: Christopher Hoskin <mans0954 at debian.org>
Date:   Sun Mar 19 11:14:18 2017 +0000

    Set http(s) proxy to localhost during doc build
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e071e5d..cbfc4ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ python-amqp (2.1.4-1) UNRELEASED; urgency=medium
     BSD-3-clause)
   * Add myself to uploaders 
   * Add patch to remove PayPal image URLs 
+  * Set http(s) proxy to localhost during doc build
 
  -- Christopher Hoskin <mans0954 at debian.org>  Wed, 15 Mar 2017 19:44:51 +0000
 
diff --git a/debian/rules b/debian/rules
index 83b24ec..f54a513 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,8 @@ export PYBUILD_AFTER_TEST=rm -rf {build_dir}/t
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_build: export http_proxy=127.0.0.1:9
+override_dh_auto_build: export https_proxy=127.0.0.1:9
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=. sphinx-build -D today="$(BUILD_DATE)" -b html -N docs/ docs/.build/html

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



More information about the Python-modules-commits mailing list