summaryrefslogtreecommitdiff
path: root/databases/py-ldap3
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-04-09 12:06:24 +0000
committeradam <adam@pkgsrc.org>2019-04-09 12:06:24 +0000
commit1dbdfde7fd551a47282f88a8bf83a14cff0cae52 (patch)
tree41cd8da4dbcb2e5621a092161c26a65f5f9b9311 /databases/py-ldap3
parent94b92d6b095c41171b51c7d74a19e77ccfb04405 (diff)
downloadpkgsrc-1dbdfde7fd551a47282f88a8bf83a14cff0cae52.tar.gz
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 (limited to 'databases/py-ldap3')
-rw-r--r--databases/py-ldap3/Makefile9
-rw-r--r--databases/py-ldap3/distinfo11
2 files changed, 11 insertions, 9 deletions
diff --git a/databases/py-ldap3/Makefile b/databases/py-ldap3/Makefile
index 37218da00d3..0869b814485 100644
--- a/databases/py-ldap3/Makefile
+++ b/databases/py-ldap3/Makefile
@@ -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 @@ COMMENT= Strictly RFC 4510 conforming LDAP V3 pure Python client library
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 --git a/databases/py-ldap3/distinfo b/databases/py-ldap3/distinfo
index 6cf976de174..7b6dd859478 100644
--- a/databases/py-ldap3/distinfo
+++ b/databases/py-ldap3/distinfo
@@ -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