[Python-modules-commits] [vcr.py] 02/07: deb/rules: run tests; deb/control: added missing deps

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Aug 1 08:32:16 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository vcr.py.

commit 246ce84046c2fad89e867bfc3dbbe8877bf7bf7b
Author: Daniel Stender <debian at danielstender.com>
Date:   Fri Jul 31 17:06:44 2015 +0200

    deb/rules: run tests; deb/control: added missing deps
---
 debian/changelog |  2 +-
 debian/control   | 10 +++++++++-
 debian/rules     |  8 +++++++-
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2459bc0..e5875d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ vcr.py (1.6.1-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #792700).
 
- -- Daniel Stender <debian at danielstender.com>  Wed, 29 Jul 2015 17:13:13 +0200
+ -- Daniel Stender <debian at danielstender.com>  Fri, 31 Jul 2015 17:06:05 +0200
diff --git a/debian/control b/debian/control
index c0ad464..9f0dc23 100644
--- a/debian/control
+++ b/debian/control
@@ -13,11 +13,19 @@ Build-Depends:
  python-six (>= 1.5),
  python-wrapt,
  python-yaml,
+ python-contextlib2,
+ python-mock,
+ python-pytest,
+ python-pytest-localserver,
  python3-all,
  python3-setuptools,
  python3-six (>= 1.5),
  python3-wrapt,
- python3-yaml
+ python3-yaml,
+ python3-contextlib2,
+ python3-mock,
+ python3-pytest,
+ python3-pytest-localserver
 Standards-Version: 3.9.6
 Homepage: https://github.com/kevin1024/vcrpy/
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/vcr.py.git
diff --git a/debian/rules b/debian/rules
index 7d3303c..2b47c65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,17 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
-export DEB_BUILD_OPTIONS=nocheck
+#export DEB_BUILD_OPTIONS=nocheck
 export PYBUILD_NAME=vcr
 
+export http_proxy=
+export https_proxy=
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+
 override_dh_installdocs:
 	pandoc -f rst -t plain -o .pybuild/README README.rst
 	dh_installdocs -A .pybuild/README

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



More information about the Python-modules-commits mailing list