[python-affine] 01/07: Enable tests

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Tue Oct 28 19:49:26 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 7697755e66ef569a6b1c846f8a69a74d30b42043
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Tue Oct 28 20:37:15 2014 +0100

    Enable tests
---
 debian/control | 4 +++-
 debian/rules   | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index a15cc4a..c583f54 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,9 @@ Build-Depends: debhelper (>= 9),
                python-all,
                python3-all,
                python-setuptools,
-               python3-setuptools
+               python3-setuptools,
+               python-pytest,
+               python3-pytest
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/affine.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/affine.git
diff --git a/debian/rules b/debian/rules
index 2333441..30b8640 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/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

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