pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-ldap Changes 2.4.38:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4bea6d4445ff
branches:  trunk
changeset: 362114:4bea6d4445ff
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 05 06:44:22 2017 +0000

description:
Changes 2.4.38:

Lib/slapdtest.py
* SlapdObject now evaluates env var SLAPD for optionally pointing
  to OpenLDAP's slapd executable (e.g. with OpenLDAP LTB builds)
* added LDAPI support in slaptest.SlapdObject which is internally used
  in methods ldapadd() and ldapwhoami()
* added method slaptest.SlapdObject.ldapmodify()
* fixed enabling logger in slaptest
* directory name now contains port to be able to run several SlapdObject
  instances side-by-side (e.g. with replication)
* added authz-regexp mapping to rootdn for user running the test
* internally use SASL/EXTERNAL via LDAPI to bind
* SlapdObject.server_id used as serverID in slapd.conf for MMR
* Removed method SlapdObject.started() because SlapdTestCase.setUpClass()
  will be used to add initial entries

Tests/
* ReconnectLDAPObject is also tested by sub-classing test class

diffstat:

 databases/py-ldap/Makefile |  14 ++++++--------
 databases/py-ldap/distinfo |  10 +++++-----
 2 files changed, 11 insertions(+), 13 deletions(-)

diffs (54 lines):

diff -r abda0d362b26 -r 4bea6d4445ff databases/py-ldap/Makefile
--- a/databases/py-ldap/Makefile        Fri May 05 01:56:08 2017 +0000
+++ b/databases/py-ldap/Makefile        Fri May 05 06:44:22 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.71 2017/02/18 06:50:18 adam Exp $
+# $NetBSD: Makefile,v 1.72 2017/05/05 06:44:22 adam Exp $
 
-DISTNAME=      python-ldap-2.4.32
+DISTNAME=      python-ldap-2.4.38
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-ldap/}
@@ -10,21 +10,19 @@
 COMMENT=       LDAP client API for Python
 LICENSE=       python-software-foundation
 
+USE_TOOLS+=            pax
+
 PY_LDAP_LIBRARY_DIRS=          ${BUILDLINK_PREFIX.openldap-client}/lib
 PY_LDAP_INCLUDE_DIRS=          ${BUILDLINK_PREFIX.openldap-client}/include
 PY_LDAP_LIBS=                  ldap_r lber ssl crypto
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # not yet ported as of 2.4.13
+PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # not yet ported as of 2.4.38
 
 .include "options.mk"
 
 SUBST_CLASSES+=                setup
 SUBST_STAGE.setup=     pre-configure
 SUBST_FILES.setup=     setup.cfg
-SUBST_SED.setup=       -e 's|@PY_LDAP_LIBRARY_DIRS@|${PY_LDAP_LIBRARY_DIRS:Q}|'
-SUBST_SED.setup+=      -e 's|@PY_LDAP_INCLUDE_DIRS@|${PY_LDAP_INCLUDE_DIRS:Q}|'
-SUBST_SED.setup+=      -e 's|@PY_LDAP_LIBS@|${PY_LDAP_LIBS}|'
-
-USE_TOOLS+=            pax
+SUBST_VARS.setup=      PY_LDAP_LIBRARY_DIRS PY_LDAP_INCLUDE_DIRS PY_LDAP_LIBS
 
 REPLACE_PYTHON=                Lib/ldap/controls/readentry.py
 
diff -r abda0d362b26 -r 4bea6d4445ff databases/py-ldap/distinfo
--- a/databases/py-ldap/distinfo        Fri May 05 01:56:08 2017 +0000
+++ b/databases/py-ldap/distinfo        Fri May 05 06:44:22 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.32 2017/02/18 06:50:18 adam Exp $
+$NetBSD: distinfo,v 1.33 2017/05/05 06:44:22 adam Exp $
 
-SHA1 (python-ldap-2.4.32.tar.gz) = 30c44221ebf1af1bdc197e6766645d1a69edc331
-RMD160 (python-ldap-2.4.32.tar.gz) = c27913eed3d4f3cc88e03692ceff79012044c8ac
-SHA512 (python-ldap-2.4.32.tar.gz) = 35a526330852ee87acd240cd285881afe498612fcedbffe93c6e41fb082300cd8b351d9100dc2b3049c658ed062d69cea90f28f9db51a80d94816ce249bbd028
-Size (python-ldap-2.4.32.tar.gz) = 126025 bytes
+SHA1 (python-ldap-2.4.38.tar.gz) = a82d4ce2d8c28426d5fcedea86233ec8e738dcc0
+RMD160 (python-ldap-2.4.38.tar.gz) = 6202186ee824815308f973cdd6f641eec9c8209b
+SHA512 (python-ldap-2.4.38.tar.gz) = 9c86fdf3ec79ed2c3b2fadc41e5a0729468cd8c54d821250111ae8796896499cff03d1b3258eae3d06115aef1f3b5e0f78100ef00c9855491b8694ddf1dc03c3
+Size (python-ldap-2.4.38.tar.gz) = 298058 bytes
 SHA1 (patch-aa) = 5585e305da91a2dd1ae47cb2bff30b1826000ec5



Home | Main Index | Thread Index | Old Index