[Python-modules-commits] r8269 - in packages/python-ad/trunk/debian (5 files)
mbaldessari-guest at users.alioth.debian.org
mbaldessari-guest at users.alioth.debian.org
Fri Apr 17 13:25:40 UTC 2009
Date: Friday, April 17, 2009 @ 13:25:39
Author: mbaldessari-guest
Revision: 8269
* Change str2dn calls to dn.str2dn (add dep on python-ldap >= 2.3.6)
* Fix patch 11_fix_homepage description (thanks Piotr)
Added:
packages/python-ad/trunk/debian/patches/12_fix_with_last_python_ldap_2.3.6.dpatch
Modified:
packages/python-ad/trunk/debian/changelog
packages/python-ad/trunk/debian/control
packages/python-ad/trunk/debian/patches/00list
packages/python-ad/trunk/debian/patches/11_fix_homepage.dpatch
Modified: packages/python-ad/trunk/debian/changelog
===================================================================
--- packages/python-ad/trunk/debian/changelog 2009-04-17 12:47:35 UTC (rev 8268)
+++ packages/python-ad/trunk/debian/changelog 2009-04-17 13:25:39 UTC (rev 8269)
@@ -4,8 +4,9 @@
* Fix short description in python-ad-dbg
* Change homepage in the README
* Actually ship the html manual
+ * Change str2dn calls to dn.str2dn (add dep on python-ldap >= 2.3.6)
- -- Michele Baldessari <michele at pupazzo.org> Fri, 17 Apr 2009 14:46:56 +0200
+ -- Michele Baldessari <michele at pupazzo.org> Fri, 17 Apr 2009 15:10:33 +0200
python-ad (0.9-2) unstable; urgency=low
Modified: packages/python-ad/trunk/debian/control
===================================================================
--- packages/python-ad/trunk/debian/control 2009-04-17 12:47:35 UTC (rev 8268)
+++ packages/python-ad/trunk/debian/control 2009-04-17 13:25:39 UTC (rev 8269)
@@ -11,7 +11,7 @@
Package: python-ad
Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-ldap, python-dnspython, python-ply, libsasl2-modules-gssapi-mit
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-ldap (>= 2.3.6), python-dnspython, python-ply, libsasl2-modules-gssapi-mit
Description: Active Directory interface module for Python
This Python module allows the manipulation of objects in Microsoft's
Active Directory.
Modified: packages/python-ad/trunk/debian/patches/00list
===================================================================
--- packages/python-ad/trunk/debian/patches/00list 2009-04-17 12:47:35 UTC (rev 8268)
+++ packages/python-ad/trunk/debian/patches/00list 2009-04-17 13:25:39 UTC (rev 8269)
@@ -1,2 +1,2 @@
-#No patches needed yet for 0.9
10_typo_on_exception
+12_fix_with_last_python_ldap_2.3.6
Modified: packages/python-ad/trunk/debian/patches/11_fix_homepage.dpatch
===================================================================
--- packages/python-ad/trunk/debian/patches/11_fix_homepage.dpatch 2009-04-17 12:47:35 UTC (rev 8268)
+++ packages/python-ad/trunk/debian/patches/11_fix_homepage.dpatch 2009-04-17 13:25:39 UTC (rev 8269)
@@ -2,7 +2,7 @@
## 11_fix_homepage.dpatch by <Michele Baldessari <michele at pupazzo.org>>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: Use proper homepage URL in README
@DPATCH@
diff -urNad trunk~/README trunk/README
Added: packages/python-ad/trunk/debian/patches/12_fix_with_last_python_ldap_2.3.6.dpatch
===================================================================
--- packages/python-ad/trunk/debian/patches/12_fix_with_last_python_ldap_2.3.6.dpatch (rev 0)
+++ packages/python-ad/trunk/debian/patches/12_fix_with_last_python_ldap_2.3.6.dpatch 2009-04-17 13:25:39 UTC (rev 8269)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_build_with_last_python_ldap.dpatch by <Michele Baldessari <michele at pupazzo.org>>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixes for python-ldap versions >= 2.3.6
+
+ at DPATCH@
+diff -urNad trunk~/lib/ad/core/client.py trunk/lib/ad/core/client.py
+--- trunk~/lib/ad/core/client.py 2008-10-31 15:19:34.000000000 +0100
++++ trunk/lib/ad/core/client.py 2009-04-17 15:09:29.000000000 +0200
+@@ -95,7 +95,7 @@
+
+ def domain_name_from_dn(self, dn):
+ """Given a DN, return a domain."""
+- parts = ldap.str2dn(dn)
++ parts = ldap.dn.str2dn(dn)
+ parts.reverse()
+ domain = []
+ for part in parts:
Property changes on: packages/python-ad/trunk/debian/patches/12_fix_with_last_python_ldap_2.3.6.dpatch
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-modules-commits
mailing list