[Python-modules-commits] [dnspython] 01/01: Disable tests unless manually enabled to avoid network access during build (Closes: #830170)

Scott Kitterman kitterman at moszumanska.debian.org
Fri Jul 15 05:53:13 UTC 2016


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

kitterman pushed a commit to branch master
in repository dnspython.

commit b9901f1f65a313fd2fe122d3bbbb638db28681e9
Author: Scott Kitterman <scott at kitterman.com>
Date:   Fri Jul 15 01:52:40 2016 -0400

    Disable tests unless manually enabled to avoid network access during build (Closes: #830170)
    
    * Drop http_proxy (problem is DNS traffic on port 53)
    * Disable tests unless manually enabled to avoid network access during
      build (Closes: #830170)
---
 debian/changelog | 8 ++++++++
 debian/rules     | 8 +++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 13a536f..09fb4b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+dnspython (1.14.0-3) unstable; urgency=medium
+
+  * Drop http_proxy (problem is DNS traffic on port 53)
+  * Disable tests unless manually enabled to avoid network access during
+    build (Closes: #830170)
+
+ -- Scott Kitterman <scott at kitterman.com>  Fri, 15 Jul 2016 01:17:53 -0400
+
 dnspython (1.14.0-2) unstable; urgency=medium
 
   * Update python3-dnspython description synopsis
diff --git a/debian/rules b/debian/rules
index 8126ace..6ad1db7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-export http_proxy=http://127.0.0.1:9/
+# As currently defined, tests can't be automatically run and be policy
+# compliant due to network access.  Uncomment this to run tests in a
+# local build
+#RUN_TEST=dh_auto_test
+
 export PYBUILD_NAME=dnspython
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	$(RUN_TEST)

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



More information about the Python-modules-commits mailing list