[Python-modules-commits] [python-persistent] 01/02: Split the import commands into separate autopkgtests.

Barry Warsaw barry at moszumanska.debian.org
Mon Jan 9 21:06:22 UTC 2017


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

barry pushed a commit to branch master
in repository python-persistent.

commit 96f47ed927284ccc69bb6e439488631523113625
Author: Barry Warsaw <barry at python.org>
Date:   Mon Jan 9 16:04:44 2017 -0500

    Split the import commands into separate autopkgtests.
    
    Add the http{,s}_proxy settings for sphinx-build.
---
 debian/rules         | 5 ++++-
 debian/tests/control | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index d86aefb..dbc6ab7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,10 @@ export PYBUILD_AFTER_INSTALL = cd {destdir}{install_dir}/persistent && \
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=. sphinx-build -qNE -b html docs build/html
+	PYTHONPATH=. \
+		http_proxy=http://127.0.0.1:9 \
+		https_proxy=https://127.0.0.1:9 \
+		sphinx-build -qNE -b html docs build/html
 
 override_dh_auto_clean:
 	dh_auto_clean
diff --git a/debian/tests/control b/debian/tests/control
index f309eea..28e429b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
-Test-Command: cd debian/tests; python import.py; python3 import.py
+Test-Command: cd debian/tests; python import.py
+Depends: @
+
+Test-Command: cd debian/tests; python3 import.py
 Depends: @

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



More information about the Python-modules-commits mailing list