[python-snuggs] 02/02: enable pytest

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Wed Apr 29 14:18:59 UTC 2015


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

johanvdw-guest pushed a commit to branch master
in repository python-snuggs.

commit 396e74f0073d5bec00b139e00b63c5d82cbe1374
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Wed Apr 29 15:36:04 2015 +0200

    enable pytest
---
 debian/control | 12 +++++++-----
 debian/rules   |  2 +-
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 2ff784f..8610c4f 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,9 @@ Build-Depends: debhelper (>= 9),
                python-click,
                python3-click,
                python-pyparsing,
-               python3-pyparsing
+               python3-pyparsing,
+               python-pytest,
+               python3-pytest
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/python-snuggs.git
 Vcs-Git: git://anonscm.debian.org/pkg-grass/python-snuggs.git
@@ -28,23 +30,23 @@ Architecture: all
 Depends: ${python:Depends},
          ${misc:Depends},
          python-lxml
-Description: S-expressions for numpy - python2 version
+Description: S-expressions for numpy - Python 2 version
  This library parses S-expressions using numpy. Available function include
  arithmetic (* + / -) and logical (< <= == != >= > & |) operators.
  Also members of the numpy module such as "asarray()", "mean()" and "where" are
  available.
  .
- This package provides the python2 version of the package.
+ This package provides the Python 2 version of the package.
 
 Package: python3-snuggs
 Architecture: all
 Depends: ${python3:Depends},
          ${misc:Depends},
          python-lxml
-Description: S-expressions for numpy - python3 version
+Description: S-expressions for numpy - Python 3 version
  This library parses S-expressions using numpy. Available function include
  arithmetic (* + / -) and logical (< <= == != >= > & |) operators.
  Also members of the numpy module such as "asarray()", "mean()" and "where" are
  available.
  . 
- This package provides the python2 version of the library.
+ This package provides the Python version of the library.
diff --git a/debian/rules b/debian/rules
index e8f58a1..3d7c11f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
 export PYBUILD_NAME=snuggs
+export PYBUILD_TEST_PYTEST=1
 
 %:
 	dh  $@ --with python2,python3 --buildsystem pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-snuggs.git



More information about the Pkg-grass-devel mailing list