Hello community,

here is the log from the commit of package python-ldap for openSUSE:Factory 
checked in at 2017-07-17 09:09:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.python-ldap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ldap"

Mon Jul 17 09:09:15 2017 rev:42 rq:509843 version:2.4.41

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ldap/python-ldap.changes  2017-06-28 
10:37:42.859256388 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap.new/python-ldap.changes     
2017-07-17 09:09:17.827664954 +0200
@@ -1,0 +2,5 @@
+Wed Jul 12 18:07:10 UTC 2017 - mich...@stroeder.com
+
+- update to upstream release 2.4.41 (small LDIF parser enhancement)
+
+-------------------------------------------------------------------

Old:
----
  python-ldap-2.4.40.tar.gz
  python-ldap-2.4.40.tar.gz.asc

New:
----
  python-ldap-2.4.41.tar.gz
  python-ldap-2.4.41.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ldap.spec ++++++
--- /var/tmp/diff_new_pack.Za4net/_old  2017-07-17 09:09:19.019497092 +0200
+++ /var/tmp/diff_new_pack.Za4net/_new  2017-07-17 09:09:19.023496529 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-ldap
-Version:        2.4.40
+Version:        2.4.41
 Release:        0
 Summary:        Python LDAP interface
 License:        Python-2.0

++++++ python-ldap-2.4.40.tar.gz -> python-ldap-2.4.41.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/CHANGES 
new/python-ldap-2.4.41/CHANGES
--- old/python-ldap-2.4.40/CHANGES      2017-06-27 20:38:08.000000000 +0200
+++ new/python-ldap-2.4.41/CHANGES      2017-07-12 20:04:30.000000000 +0200
@@ -1,4 +1,12 @@
 ----------------------------------------------------------------
+Released 2.4.41 2017-07-12
+
+Changes since 2.4.40:
+
+Lib/
+* Added support for increment: lines in LDIF changes records
+
+----------------------------------------------------------------
 Released 2.4.40 2017-06-27
 
 Changes since 2.4.39:
@@ -1452,4 +1460,4 @@
 ----------------------------------------------------------------
 Released 1.10alpha3 2000-09-19
 
-$Id: CHANGES,v 1.450 2017/06/27 18:38:08 stroeder Exp $
+$Id: CHANGES,v 1.452 2017/07/12 18:04:30 stroeder Exp $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Lib/dsml.py 
new/python-ldap-2.4.41/Lib/dsml.py
--- old/python-ldap-2.4.40/Lib/dsml.py  2017-06-23 09:16:26.000000000 +0200
+++ new/python-ldap-2.4.41/Lib/dsml.py  2017-07-12 19:30:12.000000000 +0200
@@ -4,13 +4,13 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: dsml.py,v 1.57 2017/06/23 07:16:26 stroeder Exp $
+$Id: dsml.py,v 1.58 2017/07/12 17:30:12 stroeder Exp $
 
 Python compability note:
 Tested with Python 2.0+.
 """
 
-__version__ = '2.4.40'
+__version__ = '2.4.41'
 
 import string,base64
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Lib/ldap/__init__.py 
new/python-ldap-2.4.41/Lib/ldap/__init__.py
--- old/python-ldap-2.4.40/Lib/ldap/__init__.py 2017-06-23 09:16:26.000000000 
+0200
+++ new/python-ldap-2.4.41/Lib/ldap/__init__.py 2017-07-12 19:30:12.000000000 
+0200
@@ -3,12 +3,12 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: __init__.py,v 1.118 2017/06/23 07:16:26 stroeder Exp $
+$Id: __init__.py,v 1.119 2017/07/12 17:30:12 stroeder Exp $
 """
 
 # This is also the overall release version number
 
-__version__ = '2.4.40'
+__version__ = '2.4.41'
 
 import sys
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Lib/ldapurl.py 
new/python-ldap-2.4.41/Lib/ldapurl.py
--- old/python-ldap-2.4.40/Lib/ldapurl.py       2017-06-23 09:16:26.000000000 
+0200
+++ new/python-ldap-2.4.41/Lib/ldapurl.py       2017-07-12 19:30:12.000000000 
+0200
@@ -3,7 +3,7 @@
 
 See http://www.python-ldap.org/ for details.
 
-\$Id: ldapurl.py,v 1.93 2017/06/23 07:16:26 stroeder Exp $
+\$Id: ldapurl.py,v 1.94 2017/07/12 17:30:12 stroeder Exp $
 
 Python compability note:
 This module only works with Python 2.0+ since
@@ -11,7 +11,7 @@
 2. list comprehensions are used.
 """
 
-__version__ = '2.4.40'
+__version__ = '2.4.41'
 
 __all__ = [
   # constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Lib/ldif.py 
new/python-ldap-2.4.41/Lib/ldif.py
--- old/python-ldap-2.4.40/Lib/ldif.py  2017-06-23 09:16:26.000000000 +0200
+++ new/python-ldap-2.4.41/Lib/ldif.py  2017-07-12 19:30:12.000000000 +0200
@@ -3,13 +3,13 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: ldif.py,v 1.113 2017/06/23 07:16:26 stroeder Exp $
+$Id: ldif.py,v 1.114 2017/07/12 17:30:12 stroeder Exp $
 
 Python compability note:
 Tested with Python 2.0+, but should work with Python 1.5.2+.
 """
 
-__version__ = '2.4.40'
+__version__ = '2.4.41'
 
 __all__ = [
   # constants
@@ -40,13 +40,14 @@
 ldif_pattern = '^((dn(:|::) %(dn_pattern)s)|(%(attrtype_pattern)s(:|::) 
.*)$)+' % vars()
 
 MOD_OP_INTEGER = {
-  'add'    :0, # ldap.MOD_REPLACE
-  'delete' :1, # ldap.MOD_DELETE
+  'add':0, # ldap.MOD_ADD
+  'delete':1, # ldap.MOD_DELETE
   'replace':2, # ldap.MOD_REPLACE
+  'increment':3, # ldap.MOD_INCREMENT
 }
 
 MOD_OP_STR = {
-  0:'add',1:'delete',2:'replace'
+  0:'add',1:'delete',2:'replace',3:'increment'
 }
 
 CHANGE_TYPES = ['add','delete','modify','modrdn']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Lib/python_ldap.egg-info/PKG-INFO 
new/python-ldap-2.4.41/Lib/python_ldap.egg-info/PKG-INFO
--- old/python-ldap-2.4.40/Lib/python_ldap.egg-info/PKG-INFO    2017-06-27 
20:38:45.000000000 +0200
+++ new/python-ldap-2.4.41/Lib/python_ldap.egg-info/PKG-INFO    2017-07-12 
20:05:40.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-ldap
-Version: 2.4.40
+Version: 2.4.41
 Summary: Python modules for implementing LDAP clients
 Home-page: https://www.python-ldap.org/
 Author: python-ldap project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Lib/slapdtest.py 
new/python-ldap-2.4.41/Lib/slapdtest.py
--- old/python-ldap-2.4.40/Lib/slapdtest.py     2017-06-23 09:16:26.000000000 
+0200
+++ new/python-ldap-2.4.41/Lib/slapdtest.py     2017-07-12 19:30:12.000000000 
+0200
@@ -4,13 +4,13 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: slapdtest.py,v 1.13 2017/06/23 07:16:26 stroeder Exp $
+$Id: slapdtest.py,v 1.14 2017/07/12 17:30:12 stroeder Exp $
 
 Python compability note:
 This module only works with Python 2.7.x since
 """
 
-__version__ = '2.4.40'
+__version__ = '2.4.41'
 
 import os
 import socket
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/PKG-INFO 
new/python-ldap-2.4.41/PKG-INFO
--- old/python-ldap-2.4.40/PKG-INFO     2017-06-27 20:38:45.000000000 +0200
+++ new/python-ldap-2.4.41/PKG-INFO     2017-07-12 20:05:40.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-ldap
-Version: 2.4.40
+Version: 2.4.41
 Summary: Python modules for implementing LDAP clients
 Home-page: https://www.python-ldap.org/
 Author: python-ldap project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.40/Tests/t_ldif.py 
new/python-ldap-2.4.41/Tests/t_ldif.py
--- old/python-ldap-2.4.40/Tests/t_ldif.py      2017-04-28 09:24:02.000000000 
+0200
+++ new/python-ldap-2.4.41/Tests/t_ldif.py      2017-07-12 20:05:27.000000000 
+0200
@@ -4,7 +4,7 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: t_ldif.py,v 1.22 2016/07/30 17:15:22 stroeder Exp $
+$Id: t_ldif.py,v 1.23 2017/07/12 18:05:27 stroeder Exp $
 """
 
 # from Python's standard lib
@@ -645,6 +645,29 @@
             else:
                 self.fail("should have raised ValueError: %r" % ldif_str)
 
+    def test_mod_increment(self):
+        self.check_records(
+            """
+            version: 1
+
+            dn: cn=x,cn=y,cn=z
+            changetype: modify
+            increment: gidNumber
+            gidNumber: 1
+            -
+
+            """,
+            [
+                (
+                    'cn=x,cn=y,cn=z',
+                    [
+                        (ldif.MOD_OP_INTEGER['increment'], 'gidNumber', 
[b'1']),
+                    ],
+                    None,
+                ),
+            ],
+        )
+
 
 if __name__ == '__main__':
     unittest.main()


Reply via email to