ldappool keeps LDAP connectors alive and let you reuse them, drastically

reducing the time spent to initiate a ldap connection.

The pool has useful features like:

- transparent reconnection on failures or server restarts
- configurable pool size and connectors timeouts
- configurable max lifetime for connectors
- a context manager to simplify acquiring and releasing a connector

WWW: https://pypi.org/project/ldappool/

PR:		228847
Submitted by:	freebsd_ports@k-worx.org
Sponsored by:	iXsystems Inc.
This commit is contained in:
Martin Wilke 2018-07-06 17:50:13 +00:00
parent 85757943d1
commit 33782b3536
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474026
4 changed files with 37 additions and 0 deletions

View File

@ -1065,6 +1065,7 @@
SUBDIR += py-ldap
SUBDIR += py-ldap0
SUBDIR += py-ldap3
SUBDIR += py-ldappool
SUBDIR += py-ldaptor
SUBDIR += py-libcloud
SUBDIR += py-libdnet

22
net/py-ldappool/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= ldappool
DISTVERSION= 2.2.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Simple connector pool for py-ldap
LICENSE= MPL20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap>=2.4.20:net/py-ldap@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

3
net/py-ldappool/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1527764519
SHA256 (ldappool-2.2.0.tar.gz) = c97390692cd77dbb483957abd90b5bf18259602ac53a1bc58e5c493de36d760d
SIZE (ldappool-2.2.0.tar.gz) = 15847

11
net/py-ldappool/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
ldappool keeps LDAP connectors alive and let you reuse them, drastically
reducing the time spent to initiate a ldap connection.
The pool has useful features like:
- transparent reconnection on failures or server restarts
- configurable pool size and connectors timeouts
- configurable max lifetime for connectors
- a context manager to simplify acquiring and releasing a connector
WWW: https://pypi.org/project/ldappool/