pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/py-ldap
Module Name: pkgsrc
Committed By: adam
Date: Tue Oct 23 08:58:28 UTC 2018
Modified Files:
pkgsrc/databases/py-ldap: Makefile PLIST distinfo
Removed Files:
pkgsrc/databases/py-ldap: options.mk
pkgsrc/databases/py-ldap/patches: patch-aa
Log Message:
py-ldap: updated to 3.1.0
Released 3.1.0:
This release brings two minor API changes:
- Long-deprecated functions ldap.open() and ldap.init() are removed
- LDAPObject.compare_s() and compare_ext_s return bool instead of 0 or 1
All changes since 3.0.0:
Lib/
* Remove long deprecated functions ldap.open() and ldap.init()
* LDAPObject.compare_s() and LDAPObject.compare_ext_s() now return a bool
instead of 1 or 0.
* Make iteration over cidict yield same values as keys()
* Fail if pyasn1 is not installed
* Fix parsing of PPolicyControl ASN.1 structure
* Use items() when appropriate in dict iteration
* Add support for tracing LDAP calls. Tracing can now be enabled with
the env var PYTHON_LDAP_TRACE_LEVEL and redirected to a file with
PYTHON_LDAP_TRACE_FILE.
(This is mainly intended for debugging and internal testing; the
configuration or output may change in future versions.)
Modules/
* Fix ref counting bug in LDAPmessage_to_python
Doc/
* Remove warning about unreleased version
* Doc: Replace Mac OS X -> macOS
Tests/
* Add tests and coverage for tracing
* Disable warnings-as-errors for Python 3.4
* Fix assertTrue to assertEqual
* Mark several test values as bytes
Lib/slapdtest/
* Fix error message for missing commands
* Make SlapdObject a context manager
* Disable SASL external when missing SASL support
* Make SlapdObject.root_dn a property
* In SlapdObject, build include directives dynamically
* Move import statements to top level
Code style:
* Add Makefile rules for automatic formatting of C and Python code
* Reformat and indent all C files
* Trim white space throughout the project
Infrastructure:
* Add py3-trace tox environment to Travis CI config
* Add new Pytest cache directory to gitignore
General:
* Update all pypi.python.org URLs to pypi.org
Released 3.0.0:
Notable changes since 2.4.45 (please see detailed logs below):
* Python 3 support and bytes_mode
see: https://python-ldap.readthedocs.io/en/latest/bytes_mode.html
* The module ldap.async is renamed to ldap.asyncsearch
* New dependencies: pyasn1, pyasn1_modules
* Dropped support for Python 2.6 and 3.3
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/databases/py-ldap/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/py-ldap/PLIST
cvs rdiff -u -r1.41 -r1.42 pkgsrc/databases/py-ldap/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/databases/py-ldap/options.mk
cvs rdiff -u -r1.14 -r0 pkgsrc/databases/py-ldap/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/py-ldap/Makefile
diff -u pkgsrc/databases/py-ldap/Makefile:1.81 pkgsrc/databases/py-ldap/Makefile:1.82
--- pkgsrc/databases/py-ldap/Makefile:1.81 Mon Nov 27 10:47:27 2017
+++ pkgsrc/databases/py-ldap/Makefile Tue Oct 23 08:58:27 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.81 2017/11/27 10:47:27 adam Exp $
+# $NetBSD: Makefile,v 1.82 2018/10/23 08:58:27 adam Exp $
-DISTNAME= python-ldap-2.5.2
+DISTNAME= python-ldap-3.1.0
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-ldap/}
@@ -10,24 +10,10 @@ HOMEPAGE= https://www.python-ldap.org/
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_ACCEPTED= 27
-
-.include "options.mk"
-
-SUBST_CLASSES+= setup
-SUBST_STAGE.setup= pre-configure
-SUBST_FILES.setup= setup.cfg
-SUBST_VARS.setup= PY_LDAP_LIBRARY_DIRS PY_LDAP_INCLUDE_DIRS PY_LDAP_LIBS
-
-REPLACE_PYTHON= Lib/ldap/controls/readentry.py
+DEPENDS+= ${PYPKGPREFIX}-asn1>=0.3.7:../../security/py-asn1
+DEPENDS+= ${PYPKGPREFIX}-asn1-modules>=0.1.5:../../security/py-asn1-modules
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/py-ldap/PLIST
diff -u pkgsrc/databases/py-ldap/PLIST:1.19 pkgsrc/databases/py-ldap/PLIST:1.20
--- pkgsrc/databases/py-ldap/PLIST:1.19 Mon Nov 27 10:47:27 2017
+++ pkgsrc/databases/py-ldap/PLIST Tue Oct 23 08:58:27 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2017/11/27 10:47:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2018/10/23 08:58:27 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -12,9 +12,18 @@ ${PYSITELIB}/ldap/__init__.pyo
${PYSITELIB}/ldap/async.py
${PYSITELIB}/ldap/async.pyc
${PYSITELIB}/ldap/async.pyo
+${PYSITELIB}/ldap/asyncsearch.py
+${PYSITELIB}/ldap/asyncsearch.pyc
+${PYSITELIB}/ldap/asyncsearch.pyo
${PYSITELIB}/ldap/cidict.py
${PYSITELIB}/ldap/cidict.pyc
${PYSITELIB}/ldap/cidict.pyo
+${PYSITELIB}/ldap/compat.py
+${PYSITELIB}/ldap/compat.pyc
+${PYSITELIB}/ldap/compat.pyo
+${PYSITELIB}/ldap/constants.py
+${PYSITELIB}/ldap/constants.pyc
+${PYSITELIB}/ldap/constants.pyo
${PYSITELIB}/ldap/controls/__init__.py
${PYSITELIB}/ldap/controls/__init__.pyc
${PYSITELIB}/ldap/controls/__init__.pyo
@@ -27,6 +36,9 @@ ${PYSITELIB}/ldap/controls/libldap.pyo
${PYSITELIB}/ldap/controls/openldap.py
${PYSITELIB}/ldap/controls/openldap.pyc
${PYSITELIB}/ldap/controls/openldap.pyo
+${PYSITELIB}/ldap/controls/pagedresults.py
+${PYSITELIB}/ldap/controls/pagedresults.pyc
+${PYSITELIB}/ldap/controls/pagedresults.pyo
${PYSITELIB}/ldap/controls/ppolicy.py
${PYSITELIB}/ldap/controls/ppolicy.pyc
${PYSITELIB}/ldap/controls/ppolicy.pyo
@@ -66,15 +78,9 @@ ${PYSITELIB}/ldap/filter.pyo
${PYSITELIB}/ldap/functions.py
${PYSITELIB}/ldap/functions.pyc
${PYSITELIB}/ldap/functions.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/ldapobject.py
+${PYSITELIB}/ldap/ldapobject.pyc
+${PYSITELIB}/ldap/ldapobject.pyo
${PYSITELIB}/ldap/logger.py
${PYSITELIB}/ldap/logger.pyc
${PYSITELIB}/ldap/logger.pyo
@@ -111,6 +117,20 @@ ${PYSITELIB}/ldapurl.pyo
${PYSITELIB}/ldif.py
${PYSITELIB}/ldif.pyc
${PYSITELIB}/ldif.pyo
-${PYSITELIB}/slapdtest.py
-${PYSITELIB}/slapdtest.pyc
-${PYSITELIB}/slapdtest.pyo
+${PYSITELIB}/slapdtest/__init__.py
+${PYSITELIB}/slapdtest/__init__.pyc
+${PYSITELIB}/slapdtest/__init__.pyo
+${PYSITELIB}/slapdtest/_slapdtest.py
+${PYSITELIB}/slapdtest/_slapdtest.pyc
+${PYSITELIB}/slapdtest/_slapdtest.pyo
+${PYSITELIB}/slapdtest/certs/README
+${PYSITELIB}/slapdtest/certs/ca.conf
+${PYSITELIB}/slapdtest/certs/ca.pem
+${PYSITELIB}/slapdtest/certs/client.conf
+${PYSITELIB}/slapdtest/certs/client.key
+${PYSITELIB}/slapdtest/certs/client.pem
+${PYSITELIB}/slapdtest/certs/gencerts.sh
+${PYSITELIB}/slapdtest/certs/gennssdb.sh
+${PYSITELIB}/slapdtest/certs/server.conf
+${PYSITELIB}/slapdtest/certs/server.key
+${PYSITELIB}/slapdtest/certs/server.pem
Index: pkgsrc/databases/py-ldap/distinfo
diff -u pkgsrc/databases/py-ldap/distinfo:1.41 pkgsrc/databases/py-ldap/distinfo:1.42
--- pkgsrc/databases/py-ldap/distinfo:1.41 Mon Nov 27 10:47:27 2017
+++ pkgsrc/databases/py-ldap/distinfo Tue Oct 23 08:58:27 2018
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.41 2017/11/27 10:47:27 adam Exp $
+$NetBSD: distinfo,v 1.42 2018/10/23 08:58:27 adam Exp $
-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
+SHA1 (python-ldap-3.1.0.tar.gz) = 3735d44524f096e145c91c486c8b1984b6d0122f
+RMD160 (python-ldap-3.1.0.tar.gz) = 0f59a80b72e659458ce703c689ecb0336eb0639c
+SHA512 (python-ldap-3.1.0.tar.gz) = 71948cbae1c9a47f9e68fb8c6d65d91a2992261dd9aa535a0453f5733be1c2a25be1dda3c84abc6bdebab92150c89cc8caa757454331a0303de4fa46788b414a
+Size (python-ldap-3.1.0.tar.gz) = 366019 bytes
Home |
Main Index |
Thread Index |
Old Index