[Reproducible-builds] [dh-python] 92/183: pybuild: set https_proxy to 127.0.0.1 if it's not set

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:24 UTC 2014


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

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit e24abecb204202e07dc070cba6a0975dd7e5054e
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Tue Aug 27 22:43:56 2013 +0200

    pybuild: set https_proxy to 127.0.0.1 if it's not set
---
 debian/changelog | 1 +
 pybuild          | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3b2e53a..36f5052 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ dh-python (1.20130830-1) UNRELEASED; urgency=low
       (closes: 721068)
     - add --test-tox option (PYBUILD_TEST_TOX=1 works too, like with
       other pybuild options), closes: 721067
+    - set https_proxy to 127.0.0.1 if it's not set (similar to http_proxy)
 
  -- Piotr Ożarowski <piotr at debian.org>  Sun, 25 Aug 2013 12:39:39 +0200
 
diff --git a/pybuild b/pybuild
index 6e041c9..5e77c45 100755
--- a/pybuild
+++ b/pybuild
@@ -51,6 +51,8 @@ def main(cfg):
         env['LC_ALL'] = 'C.UTF-8'
     if 'http_proxy' not in env:
         env['http_proxy'] = 'http://127.0.0.1:9/'
+    if 'https_proxy' not in env:
+        env['https_proxy'] = 'https://127.0.0.1:9/'
 
     if cfg.system:
         certainty = 99

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git



More information about the Reproducible-builds mailing list