From 9bc3f3e632e7dfb0237da26b52781425a4991396 Mon Sep 17 00:00:00 2001 Message-Id: <9bc3f3e632e7dfb0237da26b52781425a4991396.1714933693.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 16 Aug 2017 05:20:05 +0100 Subject: [PATCH] debian/: Fix the packaging. Organization: Straylight/Edgeware From: Mark Wooding The build-depends were hopeless. Switch to Debhelper 9 with `dh_python'. --- debian/.gitignore | 1 - debian/compat | 1 + debian/control | 2 +- debian/rules | 9 +-------- 4 files changed, 3 insertions(+), 10 deletions(-) create mode 100644 debian/compat diff --git a/debian/.gitignore b/debian/.gitignore index fc5a69d..ada1743 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -1,4 +1,3 @@ -compat files pycompat *.debhelper diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control index c3651bf..f915e69 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: python Priority: extra XS-Python-Version: >= 2.5, << 2.8 Maintainer: Mark Wooding -Build-Depends: debhelper (>> 3.0.0) +Build-Depends: debhelper (>= 9), python (>= 2.6.6-3~), python-all-dev Standards-Version: 3.5.2 Package: python-cdb diff --git a/debian/rules b/debian/rules index d340b2e..dc83704 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,2 @@ #!/usr/bin/make -f - -CDBS = /usr/share/cdbs/1 - -DEB_PYTHON_SYSTEM = pycentral -include $(CDBS)/rules/debhelper.mk -include $(CDBS)/class/python-distutils.mk - -###----- That's all, folks -------------------------------------------------- +%:; dh $@ --with python2 -- [mdw]