[Python-modules-commits] [pytest-localserver] 05/05: deb/rules: disable tests, add info on what's missing

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Jul 18 16:49:18 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository pytest-localserver.

commit 2080c8fb9e47abf720d89cd7cf7539afe560a313
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Jul 18 18:39:25 2015 +0200

    deb/rules: disable tests, add info on what's missing
---
 debian/changelog |  2 +-
 debian/control   | 10 +---------
 debian/rules     |  5 ++++-
 3 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a77f17d..38592e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ pytest-localserver (0.3.4-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #792784)
 
- -- Daniel Stender <debian at danielstender.com>  Sat, 18 Jul 2015 18:30:57 +0200
+ -- Daniel Stender <debian at danielstender.com>  Sat, 18 Jul 2015 18:43:26 +0200
diff --git a/debian/control b/debian/control
index bba12a5..ccc5395 100644
--- a/debian/control
+++ b/debian/control
@@ -8,17 +8,9 @@ Build-Depends:
  debhelper (>= 9),
  dh-python,
  python-all,
- python-pytest,
- python-requests,
  python-setuptools,
- python-six,
- python-werkzeug,
  python3-all,
- python3-pytest,
- python3-requests,
- python3-setuptools,
- python3-six,
- python3-werkzeug
+ python3-setuptools
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/pytest-localserver.git
 Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/pytest-localserver.git
diff --git a/debian/rules b/debian/rules
index 58c893d..76ebb20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,14 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 #export DEB_BUILD_OPTIONS=nocheck
-export PYBUILD_TEST_PYTEST=1
 export PYBUILD_NAME=pytest-localserver
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	# PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest" dh_auto_test
+	# needs werkzeug >= 0.10
+
 override_dh_installdocs:
 	dh_installdocs -A README

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



More information about the Python-modules-commits mailing list