aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-02-24 08:46:43 +0100
committerGuido Günther <agx@sigxcpu.org>2016-02-24 20:05:13 +0100
commitda0a9304537738a23fc7ed41ed604e4494fd343b (patch)
tree90780ee4ebd337dcf0fec3c7ed87416c45ab5a14
parent4e704c27a7014d0b1cd660b9f5c233787a798c14 (diff)
Switch packaging to python3
-rw-r--r--debian/control14
-rwxr-xr-xdebian/rules4
2 files changed, 9 insertions, 9 deletions
diff --git a/debian/control b/debian/control
index 4711391..e86b485 100644
--- a/debian/control
+++ b/debian/control
@@ -3,20 +3,20 @@ Section: admin
Priority: extra
Maintainer: Guido Günther <agx@sigxcpu.org>
Build-Depends: debhelper (>= 9~), lsb-release,
- python-all (>> 2.6.6-3~),
- python-mock,
- python-nose,
- python-setuptools,
+ python3,
+ python3-mock,
+ python3-nose,
+ python3-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
+X-Python3-Version: >= 3.4
XS-Testsuite: autopkgtest
Package: whatmaps
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, lsb-release,
- python-apt, python-pkg-resources
+Depends: ${misc:Depends}, ${python3:Depends}, lsb-release,
+ python3-apt, python3-pkg-resources
Description: tool to find processes mapping shared objects
After package upgrades (especially security fixes), services using a
shared library need to be restarted to make use of the updated version.
diff --git a/debian/rules b/debian/rules
index 5ce9e1c..9620d32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,14 +10,14 @@
#export DH_VERBOSE=1
%:
- dh $@ --with python2
+ dh $@ --with python3 --buildsystem=pybuild
override_dh_installman:
pod2man man/whatmaps.pod man/whatmaps.8
dh_installman man/whatmaps.8
override_dh_auto_test:
- python setup.py nosetests
+ python3 setup.py nosetests
dh_auto_test
override_dh_autoclean: