From: Mark Wooding Date: Sun, 13 Aug 2017 00:41:41 +0000 (+0100) Subject: debian/compat: Update to Debhelper 9 and `dh_python2'. X-Git-Tag: 1.6.1~1 X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/commitdiff_plain/5bdda4e19a428c5e337f94b7be5e38ede696535e debian/compat: Update to Debhelper 9 and `dh_python2'. Suspiciously, the control file already had a build-dependency on Debhelper 9. --- diff --git a/debian/compat b/debian/compat index 45a4fb7..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -8 +9 diff --git a/debian/control b/debian/control index 8003ed0..743330a 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,7 @@ Section: x11 Priority: extra Build-Depends: debhelper (>= 9), pkg-config, libx11-dev, libxrandr-dev, mlib-dev (>= 2.0.4) -Build-Depends-Indep: python-central, python (>= 2.4), - python-gtk2 +Build-Depends-Indep: python (>= 2.6.6-3~), python-gtk2 Maintainer: Mark Wooding XS-Python-Version: >= 2.4 Standards-Version: 3.1.1 diff --git a/debian/rules b/debian/rules index cec98bb..d6037af 100755 --- a/debian/rules +++ b/debian/rules @@ -1,2 +1,4 @@ #! /usr/bin/make -f -%:; dh $@ --parallel -Bdebian/build + +ARGS_binary-indep = --with-python2 +%:; dh $@ --parallel -Bdebian/build $(ARGS_$@)