debian: Abandon CDBS in favour of plain Debhelper.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 15 Jun 2013 14:56:09 +0000 (15:56 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 16 Jun 2013 19:42:35 +0000 (20:42 +0100)
MANIFEST.in
debian/.gitignore
debian/compat [new file with mode: 0644]
debian/control
debian/rules

index ddfe10a..2de4ec3 100644 (file)
@@ -35,4 +35,5 @@ include report.pyx
 include str.pyx
 
 ## Debian.
-include debian/rules debian/control debian/changelog debian/copyright
+include debian/rules debian/control debian/changelog
+include debian/copyright debian/compat
index 7905076..19ca0da 100644 (file)
@@ -4,6 +4,4 @@ substvars
 *.substvars
 *.debhelper
 *.log
-compat
-pycompat
 python-mlib
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
index 4d999f4..1e98292 100644 (file)
@@ -2,7 +2,8 @@ Source: mlib-python
 Section: python
 Priority: extra
 XS-Python-Version: >= 2.6, << 2.8
-Build-Depends: mlib-dev, python, python-pyrex, python2.6-dev, python2.7-dev
+Build-Depends: debhelper (>= 9), mlib-dev,
+       python, python-pyrex, python2.6-dev, python2.7-dev
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
 Standards-Version: 3.8.0
 
index 6ebce3c..c224393 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 $@ --parallel -Bdebian/build --with=python-central