chiark / gitweb /
debian/: Fix the packaging.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 16 Aug 2017 04:20:05 +0000 (05:20 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 16 Aug 2017 04:35:18 +0000 (05:35 +0100)
The build-depends were hopeless.  Switch to Debhelper 9 with
`dh_python'.

debian/.gitignore
debian/compat [new file with mode: 0644]
debian/control
debian/rules

index fc5a69d3547b56bbcc8e6ce1c06d0c74da5747eb..ada1743839fda2903cef98ff2cdf6df5cce8bd7f 100644 (file)
@@ -1,4 +1,3 @@
-compat
 files
 pycompat
 *.debhelper
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
index c3651bf6e707fcd131aa327285a85e8716b43bd4..f915e69c2d718b59e92c590480dea322d8885e57 100644 (file)
@@ -3,7 +3,7 @@ Section: python
 Priority: extra
 XS-Python-Version: >= 2.5, << 2.8
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
-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
index d340b2e85c4c19eb070a8d9e90f508ab844409ac..dc837042803078021d081fc9e751dbd9849a1ffc 100755 (executable)
@@ -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