[Python-modules-commits] [pytest-httpbin] 01/01: Move https?_proxy variables to the actual call of dh_auto_test.

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Wed Jan 24 18:10:39 UTC 2018


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

peb-guest pushed a commit to branch debian/master
in repository pytest-httpbin.

commit 0cec854c560eb368707b616dabce966b41e1648a
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Wed Jan 24 19:10:32 2018 +0100

    Move https?_proxy variables to the actual call of dh_auto_test.
---
 debian/changelog | 3 ++-
 debian/rules     | 7 ++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 50a07d5..ff7571d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,10 +18,11 @@ pytest-httpbin (0.3.0-1) unstable; urgency=medium
   * d/rules:
     - pytest called with argument -s to avoid capturing stdout/stderr (Closes:
       #844358, #884432)
+    - Move https?_proxy variables to the actual call of dh_auto_test.
   * d/tests/*:
     - Calls to pytest with argument -s, for the same reason as above.
 
- -- Pierre-Elliott Bécue <becue at crans.org>  Wed, 24 Jan 2018 14:10:19 +0100
+ -- Pierre-Elliott Bécue <becue at crans.org>  Wed, 24 Jan 2018 19:09:59 +0100
 
 pytest-httpbin (0.2.3-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 0f97b6d..0b8d60d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,6 @@
 #export DEB_BUILD_OPTIONS=nocheck
 export PYBUILD_NAME=pytest-httpbin
 
-# needed for unblocked localhost
-export http_proxy=
-export https_proxy=
-
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
@@ -14,7 +10,8 @@ override_dh_auto_test:
 
 override_dh_auto_install:
 	dh_auto_install
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -s" dh_auto_test
+	http_proxy= https_proxy= PYBUILD_SYSTEM=custom \
+				PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -s" dh_auto_test
 	# run tests after install: plugin needs to get registered by setup.py/entry_points
 
 override_dh_installdocs:

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



More information about the Python-modules-commits mailing list