[reprotest] 02/05: Use the magic of VIRTUALENV_DOWNLOAD=no, seen in tox's own autopkgtest tests

Ximin Luo infinity0 at debian.org
Fri Sep 23 18:32:50 UTC 2016


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

infinity0 pushed a commit to branch master
in repository reprotest.

commit fe49513c60c0447360382ceb41b534c2f214fa38
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Sep 23 20:17:32 2016 +0200

    Use the magic of VIRTUALENV_DOWNLOAD=no, seen in tox's own autopkgtest tests
---
 debian/rules | 3 +++
 tox.ini      | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d749070..a62c807 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,9 @@ export PYBUILD_NAME = reprotest
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 # FIXME: The patch from #838663 is also required for this to work on pbuilder
+	VIRTUALENV_DOWNLOAD=no \
+	http_proxy=http://127.0.9.1:9 \
+	https_proxy=https://127.0.9.1:9 \
 	TOX_TESTENV_PASSENV=PYTHONIOENCODING PYTHONIOENCODING=utf-8 \
 	REPROTEST_TEST_SERVERS=null tox -r --sitepackages -- -s
 endif
diff --git a/tox.ini b/tox.ini
index 2610b80..3c8aae1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ commands =
   {envpython} -m coverage html
 
 [testenv]
-passenv = REPROTEST_TEST_SERVERS
+passenv = REPROTEST_TEST_SERVERS VIRTUALENV_DOWNLOAD *_proxy
 # usedevelop = True
 deps =
   coverage

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



More information about the Reproducible-commits mailing list