[Python-modules-commits] [python-fs] 11/17: Disable tests because of required network access or required privileges

Jan Dittberner jandd at moszumanska.debian.org
Sun Jan 3 19:30:05 UTC 2016


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

jandd pushed a commit to branch master
in repository python-fs.

commit b965b7ba2210aac091608e234799de63bda77682
Author: Jan Dittberner <jandd at debian.org>
Date:   Sun Jan 3 19:03:05 2016 +0100

    Disable tests because of required network access or required privileges
---
 debian/changelog | 2 ++
 debian/rules     | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 841342d..6d1d0cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ python-fs (0.5.4-1) UNRELEASED; urgency=medium
   * Switch to pybuild, add dh-python to Build-Depends, add X-Python-
     Version
   * Add Build-Depends for python-setuptools and python-six
+  * Disable tests because of required network access or required
+    privileges
 
  -- Jan Dittberner <jandd at debian.org>  Sun, 03 Jan 2016 18:21:51 +0100
 
diff --git a/debian/rules b/debian/rules
index 3bdf45f..252ba39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
-PYBUILD_NAME=fs
+export PYBUILD_NAME=fs
+# disable tests because most require network access or root privileges which is
+# not ok for package building
+export PYBUILD_DISABLE=test
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list