Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 11:35:42 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5ae00f31b566 - main - net/py-bonsai: Module for handling LDAP operations in Python
Message-ID:  <202306081135.358BZgGb070574@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5ae00f31b566bb627decdf590dd002e0c57dde3b

commit 5ae00f31b566bb627decdf590dd002e0c57dde3b
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2023-05-28 16:15:53 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-08 10:51:07 +0000

    net/py-bonsai: Module for handling LDAP operations in Python
    
    This module uses libldap2 on Unix platforms and WinLDAP on Microsoft Windows.
    LDAP entries are mapped to a special Python case-insensitive dictionary,
    tracking the changes of the dictionary to modify the entry on the server easily.
    
    WWW: https://github.com/noirello/bonsai
    
    PR:             271696
---
 net/Makefile            |  1 +
 net/py-bonsai/Makefile  | 30 ++++++++++++++++++++++++++++++
 net/py-bonsai/distinfo  |  3 +++
 net/py-bonsai/pkg-descr |  3 +++
 4 files changed, 37 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 65cc246499cb..9233d1ecbd7d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1032,6 +1032,7 @@
     SUBDIR += py-amqp
     SUBDIR += py-amqplib
     SUBDIR += py-avahi
+    SUBDIR += py-bonsai
     SUBDIR += py-cepa
     SUBDIR += py-cjdns
     SUBDIR += py-cloudflare-scrape
diff --git a/net/py-bonsai/Makefile b/net/py-bonsai/Makefile
new file mode 100644
index 000000000000..431efab98631
--- /dev/null
+++ b/net/py-bonsai/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	bonsai
+DISTVERSION=	1.5.1
+CATEGORIES=	net devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	meka@tilda.center
+COMMENT=	Module for handling LDAP operations in Python
+WWW=		https://github.com/noirello/bonsai
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+MY_DEPENDS=	openldap26-client>=0:net/openldap26-client
+BUILD_DEPENDS=	${MY_DEPENDS}
+RUN_DEPENDS=	${MY_DEPENDS}
+
+USES=		localbase python:3.7+
+USE_PYTHON=	autoplist concurrent distutils pytest
+
+OPTIONS_DEFINE=	GEVENT TORNADO TRIO
+
+GEVENT_DESC=		Support for async IO using gevent
+GEVENT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR}
+TORNADO_DESC=		Support for async IO using tornado
+TORNADO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR}
+TRIO_DESC=		Support for async IO using trio
+TRIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/net/py-bonsai/distinfo b/net/py-bonsai/distinfo
new file mode 100644
index 000000000000..914634a907ac
--- /dev/null
+++ b/net/py-bonsai/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1685288184
+SHA256 (bonsai-1.5.1.tar.gz) = 101b0d166349bdcbf764a8139fd06b85b5524b4425e3f2bd6c2381f90369f735
+SIZE (bonsai-1.5.1.tar.gz) = 149639
diff --git a/net/py-bonsai/pkg-descr b/net/py-bonsai/pkg-descr
new file mode 100644
index 000000000000..cda2fc9bd6ac
--- /dev/null
+++ b/net/py-bonsai/pkg-descr
@@ -0,0 +1,3 @@
+This module uses libldap2 on Unix platforms and WinLDAP on Microsoft Windows.
+LDAP entries are mapped to a special Python case-insensitive dictionary,
+tracking the changes of the dictionary to modify the entry on the server easily.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306081135.358BZgGb070574>