summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-18 14:46:37 +0200
committerGuido Günther <agx@sigxcpu.org>2014-04-18 15:14:58 +0200
commit38be6c5ccc11d70ee375e82e79e24e4dc320b8ae (patch)
tree6e768d7292d6c3b25f61fa733b1591a4de46d976 /debian
parentb3e2fef966b266bfcfc554f732f78bf128cd62aa (diff)
Run tests during build
Diffstat (limited to 'debian')
-rw-r--r--debian/compat2
-rw-r--r--debian/control6
-rwxr-xr-xdebian/rules6
3 files changed, 11 insertions, 3 deletions
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index bc5502b..343fd35 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,14 @@ Source: whatmaps
Section: admin
Priority: extra
Maintainer: Guido Günther <agx@sigxcpu.org>
-Build-Depends: debhelper (>= 7.0.50~), python-support, lsb-release
+Build-Depends: debhelper (>= 9~), lsb-release,
+ python-all (>> 2.6.6-3~),
+ python-nose,
+ python-setuptools,
Standards-Version: 3.9.5
Homepage: https://honk.sigxcpu.org/piki/projects/whatmaps
Vcs-Git: git://honk.sigxcpu.org/git/whatmaps.git/
+X-Python-Version: >= 2.7
Package: whatmaps
Architecture: all
diff --git a/debian/rules b/debian/rules
index bdf4a77..5ce9e1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,16 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --with python2
override_dh_installman:
pod2man man/whatmaps.pod man/whatmaps.8
dh_installman man/whatmaps.8
+override_dh_auto_test:
+ python setup.py nosetests
+ dh_auto_test
+
override_dh_autoclean:
rm -f man/whatmaps.8
dh_autoclean