Hi,

Attached is the diff for my python-ldap 2.2.0-1.1 NMU.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u python-ldap-2.2.0/debian/changelog python-ldap-2.2.0/debian/changelog
--- python-ldap-2.2.0/debian/changelog
+++ python-ldap-2.2.0/debian/changelog
@@ -1,3 +1,10 @@
+python-ldap (2.2.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update to the new python policy (Closes: #373322).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Thu, 29 Jun 2006 11:49:30 +0200
+
 python-ldap (2.2.0-1) unstable; urgency=low
 
   * New upstream release.
diff -u python-ldap-2.2.0/debian/control python-ldap-2.2.0/debian/control
--- python-ldap-2.2.0/debian/control
+++ python-ldap-2.2.0/debian/control
@@ -5,29 +5,16 @@
-Build-Depends: cdbs, debhelper (>= 5), python, python2.3-dev, python2.4-dev, 
libldap2-dev, libsasl2-dev, libssl-dev
-Standards-Version: 3.6.2
+Build-Depends: cdbs, debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
+ python-support (>= 0.3), libldap2-dev, libsasl2-dev, libssl-dev
+Standards-Version: 3.7.2
 
 Package: python-ldap
-Architecture: all
-Depends: ${python:Depends}
-Description: An LDAP interface module for Python. [dummy package]
- This module provides a Python interface to the OpenLDAP client library
- (LDAP is the Lightweight Directory Access Protocol).
- .
- This dummy package just depends on the default version of python-ldap.
-
-Package: python2.3-ldap
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}
-Conflicts: python2.3-ldap-tls
-Replaces: python2.3-ldap-tls
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
 Suggests: python-ldap-doc
-Description: An LDAP interface module for Python 2.3
+Conflicts: python2.3-ldap (<< 2.2.0-1.1), python2.4-ldap (<< 2.2.0-1.1), 
python2.3-ldap-tls
+Replaces: python2.3-ldap (<< 2.2.0-1.1), python2.4-ldap (<< 2.2.0-1.1), 
python2.3-ldap-tls
+Description: An LDAP interface module for Python. [dummy package]
  This module provides a Python interface to the OpenLDAP client library
  (LDAP is the Lightweight Directory Access Protocol).
 
-Package: python2.4-ldap
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}
-Suggests: python-ldap-doc
-Description: An LDAP interface module for Python 2.4
- This module provides a Python interface to the OpenLDAP client library
- (LDAP is the Lightweight Directory Access Protocol).
diff -u python-ldap-2.2.0/debian/rules python-ldap-2.2.0/debian/rules
--- python-ldap-2.2.0/debian/rules
+++ python-ldap-2.2.0/debian/rules
@@ -1,14 +1,10 @@
 #!/usr/bin/make -f
 
+DEB_PYTHON_SYSTEM=pysupport
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
-binary-post-install/python-ldap::
-       version=`python -c 'import sys; print sys.version[:3]'` \
-               && cd debian/python-ldap/usr/share/doc \
-               && rm -rf python-ldap \
-               && ln -s python$$version-ldap python-ldap
-
 clean::
        rm -rf build
only in patch2:
unchanged:
--- python-ldap-2.2.0.orig/debian/pycompat
+++ python-ldap-2.2.0/debian/pycompat
@@ -0,0 +1 @@
+2

Attachment: signature.asc
Description: Digital signature

Reply via email to