Bug 228847 - [NEW PORT] net/py-ldappool: Simple connector pool for py-ldap
Summary: [NEW PORT] net/py-ldappool: Simple connector pool for py-ldap
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL: https://pypi.org/project/ldappool/
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-09 18:39 UTC by Kai Knoblich
Modified: 2018-07-06 17:50 UTC (History)
2 users (show)

See Also:


Attachments
py-ldappool.patch (2.68 KB, patch)
2018-06-09 18:39 UTC, Kai Knoblich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2018-06-09 18:39:20 UTC
Created attachment 194113 [details]
py-ldappool.patch

Hello,

attached is the patch that adds the Python package net/py-ldappool, that provides a simple connector pool for py-ldap.

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

QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-06 17:50:33 UTC
A commit references this bug:

Author: miwi
Date: Fri Jul  6 17:50:14 UTC 2018
New revision: 474026
URL: https://svnweb.freebsd.org/changeset/ports/474026

Log:
  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.

Changes:
  head/net/Makefile
  head/net/py-ldappool/
  head/net/py-ldappool/Makefile
  head/net/py-ldappool/distinfo
  head/net/py-ldappool/pkg-descr