[python-affine] 02/03: Fix test, use nosetest instead of py.test
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Sun Nov 2 20:15:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository python-affine.
commit 93e75a037f7eed42f3088a20bb47a1576a378452
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Sun Nov 2 21:11:11 2014 +0100
Fix test, use nosetest instead of py.test
---
debian/control | 8 ++++----
debian/rules | 7 +++++--
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index 36855ae..b118d5d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,8 @@ Build-Depends: debhelper (>= 9),
python3-all,
python-setuptools,
python3-setuptools,
- python-pytest,
- python3-pytest
+ python-nose,
+ python3-nose
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/python-affine.git
Vcs-Git: git://anonscm.debian.org/pkg-grass/python-affine.git
@@ -19,7 +19,7 @@ Homepage: https://github.com/sgillies/affine
Package: python-affine
Architecture: all
Depends: ${misc:Depends},
- ${python:depends}
+ ${python:Depends}
Description: Python Library for handling affine transformations of the plane
This library contains functions for handling affine transformations of the
plane.
@@ -31,7 +31,7 @@ Description: Python Library for handling affine transformations of the plane
Package: python3-affine
Architecture: all
Depends: ${misc:Depends},
- ${python:depends}
+ ${python:Depends}
Description: Python 3 Library for handling affine transformations of the plane
This library contains functions for handling affine transformations of the
plane.
diff --git a/debian/rules b/debian/rules
index 30b8640..52aaedb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
export PYBUILD_NAME=affine
-export PYBUILD_TEST_ARGS_python2=cd {build_dir}; py.test
-export PYBUILD_TEST_ARGS_python3=cd {build_dir}; py.test-3
+
%:
dh $@ --with python2,python3 --buildsystem pybuild
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="nosetests {build_dir}/affine" dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-affine.git
More information about the Pkg-grass-devel
mailing list