aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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