chiark / gitweb /
debian: Switch to CDBS and support Python 2.6. 1.0.1
authorMark Wooding <mdw@distorted.org.uk>
Sat, 3 Oct 2009 23:36:09 +0000 (00:36 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 Oct 2009 23:36:09 +0000 (00:36 +0100)
.gitignore
debian/.gitignore
debian/changelog
debian/control
debian/rules

index 6fec8e1..a982f44 100644 (file)
@@ -17,5 +17,5 @@ build
 MANIFEST
 dist
 mLib.c
 MANIFEST
 dist
 mLib.c
-
 COPYING
 COPYING
+python-build-stamp-*
index 8cc7db2..7905076 100644 (file)
@@ -3,7 +3,7 @@ tmp
 substvars
 *.substvars
 *.debhelper
 substvars
 *.substvars
 *.debhelper
+*.log
+compat
+pycompat
 python-mlib
 python-mlib
-python2.3-mlib
-python2.4-mlib
-
index 9865ad9..1363541 100644 (file)
@@ -1,5 +1,12 @@
-python-mlib (1.0.0) experimental; urgency=low
+mlib-python (1.0.1) experimental; urgency=low
+
+  * Switch to CDBS and support Python 2.6
+  * Support (glorious!) mdup function.
+
+ -- Mark Wooding <mdw@distorted.org.uk>  Sun, 04 Oct 2009 00:32:29 +0100
+
+mlib-python (1.0.0) experimental; urgency=low
 
   * Debianization!
 
 
   * Debianization!
 
- -- Mark Wooding <mdw@distorted.org.uk>  Mon, 23 Jul 2007 16:02:27 +0100
+ -- Mark Wooding <mdw@distorted.org.uk>  Sun, 04 Oct 2009 00:31:21 +0100
index 397b6ff..92313f0 100644 (file)
@@ -1,13 +1,15 @@
-Source: python-mlib
+Source: mlib-python
 Section: python
 Priority: extra
 Section: python
 Priority: extra
+XS-Python-Version: >= 2.4, << 2.7
 Build-Depends: mlib-dev, python, python-pyrex
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
 Build-Depends: mlib-dev, python, python-pyrex
 Maintainer: Mark Wooding <mdw@distorted.org.uk>
-Standards-Version: 3.1.1
+Standards-Version: 3.8.0
 
 Package: python-mlib
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}
 
 Package: python-mlib
 Architecture: any
 Depends: ${shlibs:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
 Description: A library of miscellaneous stuff
  The mLib library provides various handy utilities, including
    * yet another options parser, like GNU getopt but more so;
 Description: A library of miscellaneous stuff
  The mLib library provides various handy utilities, including
    * yet another options parser, like GNU getopt but more so;
index d6450e1..6ebce3c 100755 (executable)
@@ -1,45 +1,9 @@
 #! /usr/bin/make -f
 
 #! /usr/bin/make -f
 
-export DH_COMPAT = 4
+CDBS = /usr/share/cdbs/1
 
 
-build: build-stamp
+DEB_PYTHON_SYSTEM = pycentral
+include $(CDBS)/rules/debhelper.mk
+include $(CDBS)/class/python-distutils.mk
 
 
-build-stamp:
-       python setup.py build
-       touch build-stamp
-
-clean:
-       dh_clean
-       make clean
-       rm -rf build build-stamp
-
-install: build
-       dh_clean
-       python setup.py build
-       python setup.py install --root=debian/python-mlib
-
-binary-arch: install
-       dh_testdir -a
-       dh_testroot -a
-       dh_compress -a
-       dh_installdocs -a
-       dh_strip -a
-       dh_shlibdeps -a
-       dh_python -a
-       dh_gencontrol -a
-       dh_fixperms -a
-       dh_installdeb -a
-       dh_md5sums -a
-       dh_builddeb -a
-
-binary: binary-arch
-
-source:
-       rm -rf dist/*.tar.gz dist/=deb=
-       python setup.py sdist
-       mkdir dist/=deb=
-       cd dist/=deb=; tar xvfz ../*.tar.gz
-       d=`pwd`; cd ..; dpkg-source -i -i'/\.svn/' -b $$d/dist/=deb=/*
-       rm -rf dist/=deb=
-
-.PHONY: binary binary-arch binary-indep clean install source build
+###----- That's all, folks --------------------------------------------------