Wed Nov 15 07:50:40 2017 UTC ()
py-ldap: updated to 2.5.1

Changes since 2.4.45:

Mandatory prerequisites:
- Python 2.7.x
- pyasn1 0.3.7+ and pyasn1_modules 0.1.5+

Modules/
* removed unused code schema.c

Lib/
* ldap.__version__, ldap.__author__ and ldap.__license__ now
  imported from new sub-module ldap.pkginfo also to setup.py
* Added safety assertion when importing _ldap:
  ldap.pkginfo.__version__ must match _ldap.__version__
* removed stand-alone module dsml
* slapdtest.SlapdObject.restart() just restarts slapd
  without cleaning any data
* Compability changes for pyasn1 0.3.x or newer
  (thanks to Ilya Etingof and Christian Heimes)
* The methods SSSResponseControl.decodeControlValue() and
  VLVResponseControl.decodeControlValue() now follow the coding
  convention to use camel-cased ASN.1 name as class attribute name.
  The old class names are still set for back-ward compability
  but should not be used in new code because they might be removed
  in a later release.
* removed SSSRequestControl from ldap.controls.KNOWN_RESPONSE_CONTROLS

Tests/
* added explicit reconnect tests for ReconnectLDAPObject


(adam)
diff -r1.79 -r1.80 pkgsrc/databases/py-ldap/Makefile
diff -r1.17 -r1.18 pkgsrc/databases/py-ldap/PLIST
diff -r1.39 -r1.40 pkgsrc/databases/py-ldap/distinfo

cvs diff -r1.79 -r1.80 pkgsrc/databases/py-ldap/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/py-ldap/Makefile 2017/10/24 04:45:56 1.79
+++ pkgsrc/databases/py-ldap/Makefile 2017/11/15 07:50:40 1.80
@@ -1,31 +1,31 @@ @@ -1,31 +1,31 @@
1# $NetBSD: Makefile,v 1.79 2017/10/24 04:45:56 adam Exp $ 1# $NetBSD: Makefile,v 1.80 2017/11/15 07:50:40 adam Exp $
2 2
3DISTNAME= python-ldap-2.4.45 3DISTNAME= python-ldap-2.5.1
4PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/} 4PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
5CATEGORIES= databases python 5CATEGORIES= databases python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-ldap/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-ldap/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.python-ldap.org/ 9HOMEPAGE= https://www.python-ldap.org/
10COMMENT= LDAP client API for Python 10COMMENT= LDAP client API for Python
11LICENSE= python-software-foundation 11LICENSE= python-software-foundation
12 12
13USE_TOOLS+= pax 13USE_TOOLS+= pax
14 14
15PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib 15PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib
16PY_LDAP_INCLUDE_DIRS= ${BUILDLINK_PREFIX.openldap-client}/include 16PY_LDAP_INCLUDE_DIRS= ${BUILDLINK_PREFIX.openldap-client}/include
17PY_LDAP_LIBS= ldap_r lber ssl crypto 17PY_LDAP_LIBS= ldap_r lber ssl crypto
18PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.4.43 18PYTHON_VERSIONS_ACCEPTED= 27
19 19
20.include "options.mk" 20.include "options.mk"
21 21
22SUBST_CLASSES+= setup 22SUBST_CLASSES+= setup
23SUBST_STAGE.setup= pre-configure 23SUBST_STAGE.setup= pre-configure
24SUBST_FILES.setup= setup.cfg 24SUBST_FILES.setup= setup.cfg
25SUBST_VARS.setup= PY_LDAP_LIBRARY_DIRS PY_LDAP_INCLUDE_DIRS PY_LDAP_LIBS 25SUBST_VARS.setup= PY_LDAP_LIBRARY_DIRS PY_LDAP_INCLUDE_DIRS PY_LDAP_LIBS
26 26
27REPLACE_PYTHON= Lib/ldap/controls/readentry.py 27REPLACE_PYTHON= Lib/ldap/controls/readentry.py
28 28
29.include "../../databases/openldap-client/buildlink3.mk" 29.include "../../databases/openldap-client/buildlink3.mk"
30.include "../../security/openssl/buildlink3.mk" 30.include "../../security/openssl/buildlink3.mk"
31.include "../../lang/python/application.mk" 31.include "../../lang/python/application.mk"

cvs diff -r1.17 -r1.18 pkgsrc/databases/py-ldap/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/py-ldap/PLIST 2017/05/09 07:52:14 1.17
+++ pkgsrc/databases/py-ldap/PLIST 2017/11/15 07:50:40 1.18
@@ -1,24 +1,21 @@ @@ -1,24 +1,21 @@
1@comment $NetBSD: PLIST,v 1.17 2017/05/09 07:52:14 adam Exp $ 1@comment $NetBSD: PLIST,v 1.18 2017/11/15 07:50:40 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
6${PYSITELIB}/${EGG_INFODIR}/requires.txt 6${PYSITELIB}/${EGG_INFODIR}/requires.txt
7${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${EGG_INFODIR}/top_level.txt
8${PYSITELIB}/_ldap.so 8${PYSITELIB}/_ldap.so
9${PYSITELIB}/dsml.py 
10${PYSITELIB}/dsml.pyc 
11${PYSITELIB}/dsml.pyo 
12${PYSITELIB}/ldap/__init__.py 9${PYSITELIB}/ldap/__init__.py
13${PYSITELIB}/ldap/__init__.pyc 10${PYSITELIB}/ldap/__init__.pyc
14${PYSITELIB}/ldap/__init__.pyo 11${PYSITELIB}/ldap/__init__.pyo
15${PYSITELIB}/ldap/async.py 12${PYSITELIB}/ldap/async.py
16${PYSITELIB}/ldap/async.pyc 13${PYSITELIB}/ldap/async.pyc
17${PYSITELIB}/ldap/async.pyo 14${PYSITELIB}/ldap/async.pyo
18${PYSITELIB}/ldap/cidict.py 15${PYSITELIB}/ldap/cidict.py
19${PYSITELIB}/ldap/cidict.pyc 16${PYSITELIB}/ldap/cidict.pyc
20${PYSITELIB}/ldap/cidict.pyo 17${PYSITELIB}/ldap/cidict.pyo
21${PYSITELIB}/ldap/controls/__init__.py 18${PYSITELIB}/ldap/controls/__init__.py
22${PYSITELIB}/ldap/controls/__init__.pyc 19${PYSITELIB}/ldap/controls/__init__.pyc
23${PYSITELIB}/ldap/controls/__init__.pyo 20${PYSITELIB}/ldap/controls/__init__.pyo
24${PYSITELIB}/ldap/controls/deref.py 21${PYSITELIB}/ldap/controls/deref.py
@@ -65,26 +62,29 @@ ${PYSITELIB}/ldap/filter.pyc @@ -65,26 +62,29 @@ ${PYSITELIB}/ldap/filter.pyc
65${PYSITELIB}/ldap/filter.pyo 62${PYSITELIB}/ldap/filter.pyo
66${PYSITELIB}/ldap/functions.py 63${PYSITELIB}/ldap/functions.py
67${PYSITELIB}/ldap/functions.pyc 64${PYSITELIB}/ldap/functions.pyc
68${PYSITELIB}/ldap/functions.pyo 65${PYSITELIB}/ldap/functions.pyo
69${PYSITELIB}/ldap/ldapobject.py 66${PYSITELIB}/ldap/ldapobject.py
70${PYSITELIB}/ldap/ldapobject.pyc 67${PYSITELIB}/ldap/ldapobject.pyc
71${PYSITELIB}/ldap/ldapobject.pyo 68${PYSITELIB}/ldap/ldapobject.pyo
72${PYSITELIB}/ldap/logger.py 69${PYSITELIB}/ldap/logger.py
73${PYSITELIB}/ldap/logger.pyc 70${PYSITELIB}/ldap/logger.pyc
74${PYSITELIB}/ldap/logger.pyo 71${PYSITELIB}/ldap/logger.pyo
75${PYSITELIB}/ldap/modlist.py 72${PYSITELIB}/ldap/modlist.py
76${PYSITELIB}/ldap/modlist.pyc 73${PYSITELIB}/ldap/modlist.pyc
77${PYSITELIB}/ldap/modlist.pyo 74${PYSITELIB}/ldap/modlist.pyo
 75${PYSITELIB}/ldap/pkginfo.py
 76${PYSITELIB}/ldap/pkginfo.pyc
 77${PYSITELIB}/ldap/pkginfo.pyo
78${PYSITELIB}/ldap/resiter.py 78${PYSITELIB}/ldap/resiter.py
79${PYSITELIB}/ldap/resiter.pyc 79${PYSITELIB}/ldap/resiter.pyc
80${PYSITELIB}/ldap/resiter.pyo 80${PYSITELIB}/ldap/resiter.pyo
81${PYSITELIB}/ldap/sasl.py 81${PYSITELIB}/ldap/sasl.py
82${PYSITELIB}/ldap/sasl.pyc 82${PYSITELIB}/ldap/sasl.pyc
83${PYSITELIB}/ldap/sasl.pyo 83${PYSITELIB}/ldap/sasl.pyo
84${PYSITELIB}/ldap/schema/__init__.py 84${PYSITELIB}/ldap/schema/__init__.py
85${PYSITELIB}/ldap/schema/__init__.pyc 85${PYSITELIB}/ldap/schema/__init__.pyc
86${PYSITELIB}/ldap/schema/__init__.pyo 86${PYSITELIB}/ldap/schema/__init__.pyo
87${PYSITELIB}/ldap/schema/models.py 87${PYSITELIB}/ldap/schema/models.py
88${PYSITELIB}/ldap/schema/models.pyc 88${PYSITELIB}/ldap/schema/models.pyc
89${PYSITELIB}/ldap/schema/models.pyo 89${PYSITELIB}/ldap/schema/models.pyo
90${PYSITELIB}/ldap/schema/subentry.py 90${PYSITELIB}/ldap/schema/subentry.py

cvs diff -r1.39 -r1.40 pkgsrc/databases/py-ldap/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/py-ldap/distinfo 2017/10/24 04:45:56 1.39
+++ pkgsrc/databases/py-ldap/distinfo 2017/11/15 07:50:40 1.40
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.39 2017/10/24 04:45:56 adam Exp $ 1$NetBSD: distinfo,v 1.40 2017/11/15 07:50:40 adam Exp $
2 2
3SHA1 (python-ldap-2.4.45.tar.gz) = 11b3494485947de2317e516ec211238cc6a59d16 3SHA1 (python-ldap-2.5.1.tar.gz) = 6fbcc78cf1f82a9311a330fe018e5bbf85e25227
4RMD160 (python-ldap-2.4.45.tar.gz) = 691b51d5c77cf19b8238f37791cb18c839e3bd67 4RMD160 (python-ldap-2.5.1.tar.gz) = fec7d813d5d9748ab99a4ab91a7da101aac95d06
5SHA512 (python-ldap-2.4.45.tar.gz) = dc9ccc4fa4668931fe5f824abe55a0b4b2eaec506215f69c0df0c1118ef05b04c8cec22c8e7bbe70395549f72b2f26a1f375422cdfaa8adb2545efe8a245b307 5SHA512 (python-ldap-2.5.1.tar.gz) = d713eaabea5a6aff90ff59decf632342cb3d6f69de6df5e2a2012694c405e001649d2cc768f441e45667ddce09e1b9155491a56ab51e55652b117dcc176a5c39
6Size (python-ldap-2.4.45.tar.gz) = 296804 bytes 6Size (python-ldap-2.5.1.tar.gz) = 293615 bytes
7SHA1 (patch-aa) = 5585e305da91a2dd1ae47cb2bff30b1826000ec5 7SHA1 (patch-aa) = 5585e305da91a2dd1ae47cb2bff30b1826000ec5