pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-ldap3 py-ldap3: updated to 2.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d16c031bf139
branches:  trunk
changeset: 332356:d16c031bf139
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 09 12:06:24 2019 +0000

description:
py-ldap3: updated to 2.6

2.6:
- fixed empty digestMd5.py file in 2.5.2 package
- explicitly declare digest module md5 in util.ntlm
- change object passed to modify() was unexpectedly mutated
- added LDAPInfoError exception
- added Server.has_control(control) method to check if a server has a specific control
- added Server.has_extension(extension) method to check if a server has a specific extension
- added Server.has_feature(feature) method to check if a server has a specific feature
- fixed checking of \\ in safe_dn
- fixed uuid checking with 5c byte value
- added single=True parameter to the ServerPool object definition. Servers state is shared between connections using the same pool
- updated copyright notice

diffstat:

 databases/py-ldap3/Makefile |   9 ++++++---
 databases/py-ldap3/distinfo |  11 +++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r c40010210d45 -r d16c031bf139 databases/py-ldap3/Makefile
--- a/databases/py-ldap3/Makefile       Tue Apr 09 11:51:20 2019 +0000
+++ b/databases/py-ldap3/Makefile       Tue Apr 09 12:06:24 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2019/01/31 11:02:14 leot Exp $
+# $NetBSD: Makefile,v 1.13 2019/04/09 12:06:24 adam Exp $
 
-DISTNAME=      ldap3-2.5.2
+DISTNAME=      ldap3-2.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/ldap3/}
 
@@ -12,8 +11,12 @@
 LICENSE=       gnu-lgpl-v3
 
 DEPENDS+=      ${PYPKGPREFIX}-asn1>=0.1.8:../../security/py-asn1
+TEST_DEPENDS+= ${PYPKGPREFIX}-gssapi-[0-9]*:../../security/py-gssapi
 
 USE_LANGUAGES= # none
 
+do-test:
+       cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v -s test
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c40010210d45 -r d16c031bf139 databases/py-ldap3/distinfo
--- a/databases/py-ldap3/distinfo       Tue Apr 09 11:51:20 2019 +0000
+++ b/databases/py-ldap3/distinfo       Tue Apr 09 12:06:24 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.10 2019/01/31 11:02:14 leot Exp $
+$NetBSD: distinfo,v 1.11 2019/04/09 12:06:24 adam Exp $
 
-SHA1 (ldap3-2.5.2.tar.gz) = c5b6d80c274c358270db102f9a9b6c8284d7aa48
-RMD160 (ldap3-2.5.2.tar.gz) = afe5b19bce9acf7438a3fc42b71951f875f81c4f
-SHA512 (ldap3-2.5.2.tar.gz) = 2889fbf917b828eaa54a935b2cc9c4909b3e2eb5c5c50cc38f6c561335d5341837f8a16d3aa135144c8ac12cd6fefdd9c3421c8de36a9573aed1aaa6a3051afa
-Size (ldap3-2.5.2.tar.gz) = 352903 bytes
-SHA1 (patch-ldap3_protocol_sasl_digestMd5.py) = 315e38d20362b30c7a3f7930c9fbb1f994d1207d
+SHA1 (ldap3-2.6.tar.gz) = 34509b6518ef1297aa9ff1f6c5574ff0257924ad
+RMD160 (ldap3-2.6.tar.gz) = 7b236d5433e94ff20591490adbdb0e17daa6b6c0
+SHA512 (ldap3-2.6.tar.gz) = 6494cac04c787c32d2f93955df7a51815bfff66d814dbda81a68bea8e28d9b46a30efb1ae1d2f2a9183791cfa0093783c6f8a63ead1a2f70bc8496473d14435c
+Size (ldap3-2.6.tar.gz) = 354058 bytes



Home | Main Index | Thread Index | Old Index