pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-ldap py-ldap: updated to 2.5.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c969cad6214
branches:  trunk
changeset: 372066:1c969cad6214
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 27 10:47:27 2017 +0000

description:
py-ldap: updated to 2.5.2

Release 2.5.2:
* code-cleaning in setup.py

Modules/
* PyBytes_ instead of PyString_ and added PyInt_FromLong compat macro
* moved code from version.c to ldapmodule.c
* removed obsolete back-ward compability constants from common.h
* build checks whether LDAP_API_VERSION is OpenLDAP 2.4.x
* _ldap.__author__ and _ldap.__license__ also set from ldap.pkginfo
* assume C extension API for Python 2.7+

Lib/
* removed all dependencies on modules string and types
* removed use of .has_key()
* removed class ldap.ldapobject.NonblockingLDAPObject
* new global constant ldap.LIBLDAP_API_INFO
* right after importing _ldap there is a call into libldap to initialize it
* method .decodeControlValue() of SSSResponseControl and VLVResponseControl
  does not set class attribute result_code anymore
* always use bytes() for UUID() constructor in ldap.syncrepl
* module ldif now uses functions b64encode() and b64decode()
* fixed pickling and restoring of ReconnectLDAPObject
* more modules with PEP-8 compliance
* ldap.ldapobject split into module-package

Tests/
* scripts do not directly call SlapdTestCase.setUpClass() anymore
* added LDIF test with folded, base64-encoded attribute
* added more tests for sub-module ldap.dn
* added tests for ldap.syncrepl

diffstat:

 databases/py-ldap/Makefile |   4 ++--
 databases/py-ldap/PLIST    |  17 +++++++++++++----
 databases/py-ldap/distinfo |  10 +++++-----
 3 files changed, 20 insertions(+), 11 deletions(-)

diffs (66 lines):

diff -r e35f97a22a22 -r 1c969cad6214 databases/py-ldap/Makefile
--- a/databases/py-ldap/Makefile        Mon Nov 27 10:44:55 2017 +0000
+++ b/databases/py-ldap/Makefile        Mon Nov 27 10:47:27 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2017/11/15 07:50:40 adam Exp $
+# $NetBSD: Makefile,v 1.81 2017/11/27 10:47:27 adam Exp $
 
-DISTNAME=      python-ldap-2.5.1
+DISTNAME=      python-ldap-2.5.2
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-ldap/}
diff -r e35f97a22a22 -r 1c969cad6214 databases/py-ldap/PLIST
--- a/databases/py-ldap/PLIST   Mon Nov 27 10:44:55 2017 +0000
+++ b/databases/py-ldap/PLIST   Mon Nov 27 10:47:27 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2017/11/15 07:50:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.19 2017/11/27 10:47:27 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -48,6 +48,9 @@
 ${PYSITELIB}/ldap/controls/sss.py
 ${PYSITELIB}/ldap/controls/sss.pyc
 ${PYSITELIB}/ldap/controls/sss.pyo
+${PYSITELIB}/ldap/controls/vlv.py
+${PYSITELIB}/ldap/controls/vlv.pyc
+${PYSITELIB}/ldap/controls/vlv.pyo
 ${PYSITELIB}/ldap/dn.py
 ${PYSITELIB}/ldap/dn.pyc
 ${PYSITELIB}/ldap/dn.pyo
@@ -63,9 +66,15 @@
 ${PYSITELIB}/ldap/functions.py
 ${PYSITELIB}/ldap/functions.pyc
 ${PYSITELIB}/ldap/functions.pyo
-${PYSITELIB}/ldap/ldapobject.py
-${PYSITELIB}/ldap/ldapobject.pyc
-${PYSITELIB}/ldap/ldapobject.pyo
+${PYSITELIB}/ldap/ldapobject/__init__.py
+${PYSITELIB}/ldap/ldapobject/__init__.pyc
+${PYSITELIB}/ldap/ldapobject/__init__.pyo
+${PYSITELIB}/ldap/ldapobject/reconnect.py
+${PYSITELIB}/ldap/ldapobject/reconnect.pyc
+${PYSITELIB}/ldap/ldapobject/reconnect.pyo
+${PYSITELIB}/ldap/ldapobject/simple.py
+${PYSITELIB}/ldap/ldapobject/simple.pyc
+${PYSITELIB}/ldap/ldapobject/simple.pyo
 ${PYSITELIB}/ldap/logger.py
 ${PYSITELIB}/ldap/logger.pyc
 ${PYSITELIB}/ldap/logger.pyo
diff -r e35f97a22a22 -r 1c969cad6214 databases/py-ldap/distinfo
--- a/databases/py-ldap/distinfo        Mon Nov 27 10:44:55 2017 +0000
+++ b/databases/py-ldap/distinfo        Mon Nov 27 10:47:27 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.40 2017/11/15 07:50:40 adam Exp $
+$NetBSD: distinfo,v 1.41 2017/11/27 10:47:27 adam Exp $
 
-SHA1 (python-ldap-2.5.1.tar.gz) = 6fbcc78cf1f82a9311a330fe018e5bbf85e25227
-RMD160 (python-ldap-2.5.1.tar.gz) = fec7d813d5d9748ab99a4ab91a7da101aac95d06
-SHA512 (python-ldap-2.5.1.tar.gz) = d713eaabea5a6aff90ff59decf632342cb3d6f69de6df5e2a2012694c405e001649d2cc768f441e45667ddce09e1b9155491a56ab51e55652b117dcc176a5c39
-Size (python-ldap-2.5.1.tar.gz) = 293615 bytes
+SHA1 (python-ldap-2.5.2.tar.gz) = 8ce180da961fa7d582a975a43566b17a31f890a8
+RMD160 (python-ldap-2.5.2.tar.gz) = 0e845581f505d8a1b4cd08a1904233a86306fee7
+SHA512 (python-ldap-2.5.2.tar.gz) = d5b1fe047d0f16e6c32e286391d0586e0493cbfa8ad817bd64b917f6aa53699eca84477854088d48ef06e378917a2af9d3669762a0a607d17b1e1c75a371c9ad
+Size (python-ldap-2.5.2.tar.gz) = 297976 bytes
 SHA1 (patch-aa) = 5585e305da91a2dd1ae47cb2bff30b1826000ec5



Home | Main Index | Thread Index | Old Index