Hi, Attached is the diff for my comedilib 0.7.22-2.2 NMU.
Note that only python 2.3 module is currently built, to avoid to build the whole thing twice. a simple binNMU will suffice to switch to the 2.4 module when it will become the default python. -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u comedilib-0.7.22/debian/control comedilib-0.7.22/debian/control
--- comedilib-0.7.22/debian/control
+++ comedilib-0.7.22/debian/control
@@ -2,8 +2,9 @@
Section: devel
Priority: optional
Maintainer: David Schleef <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), swig, python-dev, docbook-utils
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
+ swig, docbook-utils, python-support (>= 0.3)
+Standards-Version: 3.7.2
Package: libcomedi-dev
Section: libdevel
@@ -44,6 +45,8 @@
Section: python
Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
Description: Python wrapper for Comedilib
Comedilib is a library for using Comedi, a driver interface for data
acquisition hardware. See the libcomedi0 package for more information.
diff -u comedilib-0.7.22/debian/changelog comedilib-0.7.22/debian/changelog
--- comedilib-0.7.22/debian/changelog
+++ comedilib-0.7.22/debian/changelog
@@ -1,3 +1,10 @@
+comedilib (0.7.22-2.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to new python policy (Closes: #373305).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Fri, 30 Jun 2006 01:06:30 +0200
+
comedilib (0.7.22-2.1) unstable; urgency=low
* Non-maintainer upload.
diff -u comedilib-0.7.22/debian/rules comedilib-0.7.22/debian/rules
--- comedilib-0.7.22/debian/rules
+++ comedilib-0.7.22/debian/rules
@@ -87,6 +87,7 @@
dh_fixperms
dh_makeshlibs
dh_installdeb
+ dh_pysupport
dh_python
# dh_perl
dh_shlibdeps -l`pwd`/debian/tmp/usr/lib/
only in patch2:
unchanged:
--- comedilib-0.7.22.orig/debian/pycompat
+++ comedilib-0.7.22/debian/pycompat
@@ -0,0 +1 @@
+2
signature.asc
Description: Digital signature

