[Python-modules-commits] [python-aiohttp] 02/04: replace nose with pytest
Piotr Ożarowski
piotr at moszumanska.debian.org
Thu Jan 28 21:51:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository python-aiohttp.
commit f42cae97ddf1964b661e12d122f4d0ab23de1bca
Author: Piotr Ożarowski <piotr at debian.org>
Date: Thu Jan 28 21:49:04 2016 +0100
replace nose with pytest
that's what upstream uses now
---
debian/changelog | 9 +++++++++
debian/control | 2 +-
debian/rules | 13 +++----------
3 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9c40f38..8ba6967 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-aiohttp (0.20.2-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Replace python3-nose with python3-pytest in Build-Depends
+ and remove override_dh_auto_test from debian/rules;
+ remove no longer needed override_dh_auto_test in debian/rules
+
+ -- Piotr Ożarowski <piotr at debian.org> Thu, 28 Jan 2016 21:42:23 +0100
+
python-aiohttp (0.17.4-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/control b/debian/control
index 87b9bae..cf795a5 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9),
python3-sphinx,
cython3,
# for tests:
- python3-nose,
+ python3-pytest,
python3-chardet,
python3-gunicorn
Standards-Version: 3.9.6
diff --git a/debian/rules b/debian/rules
index a7c19bd..8c2104e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,10 @@
#!/usr/bin/make -f
export PYBUILD_NAME = aiohttp
+# enable pytest also here to make backports easier
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS={dir}/tests
%:
dh $@ --with python3,sphinxdoc --buildsystem pybuild
-# Until bug #749506 in pybuild is fixed.
-PYTHON3:=$(shell py3versions -vs)
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
- set -e; \
- for i in $(PYTHON3) ; do \
- python$$i -m nose ./tests/ || true; \
- done
-endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-aiohttp.git
More information about the Python-modules-commits
mailing list