[Python-modules-commits] [vcr.py] 04/05: deb/rules: don't run tests on Debian, but on Neurodebian

Daniel Stender danstender-guest at moszumanska.debian.org
Wed Oct 7 19:00:40 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 42f0214aa7914ff0a2ee98d17b515a2a719d8073
Author: Daniel Stender <debian at danielstender.com>
Date:   Wed Oct 7 20:30:21 2015 +0200

    deb/rules: don't run tests on Debian, but on Neurodebian
---
 debian/changelog | 3 ++-
 debian/rules     | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 72d1379..1bf115c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 vcr.py (1.7.3-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * deb/rules: don't run tests on Debian (see #795940), but on Neurodebian.
 
- -- Daniel Stender <debian at danielstender.com>  Sun, 06 Sep 2015 22:20:40 +0200
+ -- Daniel Stender <debian at danielstender.com>  Wed, 07 Oct 2015 20:28:04 +0200
 
 vcr.py (1.6.1-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 6ca823b..8a72cb1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,17 @@ export PYBUILD_NAME=vcr
 export http_proxy=
 export https_proxy=
 
+include /usr/share/dpkg/pkg-info.mk
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
+ifeq (~nd,$(findstring ~nd,$(DEB_VERSION)))
 	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -rs" dh_auto_test
+endif
+# don't run tests on Debian because they're currently need net connection, cf. #795940
+# but run them on Neurodebian by request of the sponsor
 
 override_dh_installdocs:
 	pandoc -f rst -t plain -o .pybuild/README README.rst

-- 
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