git: e8bea65286d2 - main - net/py-bonsai: convert OpenLDAP dependency to USES=ldap

From: Xin LI <delphij_at_FreeBSD.org>
Date: Fri, 11 Sep 2026 03:17:59 UTC
The branch main has been updated by delphij:

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

commit e8bea65286d2e5fcb395827ab619a8dcfc9aeb75
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-08-09 07:00:55 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-09-11 03:17:36 +0000

    net/py-bonsai: convert OpenLDAP dependency to USES=ldap
    
    Replace hardcoded openldap26-client dependency with USES=ldap,
    letting the framework handle version selection.
    
    PR:             ports/297391
    Approved by:    maintainer timeout
---
 net/py-bonsai/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/net/py-bonsai/Makefile b/net/py-bonsai/Makefile
index dfd49787db6c..635f39fd9549 100644
--- a/net/py-bonsai/Makefile
+++ b/net/py-bonsai/Makefile
@@ -11,16 +11,13 @@ WWW=		https://github.com/noirello/bonsai
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-MY_DEPENDS=	openldap26-client>=0:net/openldap26-client
-BUILD_DEPENDS=	${MY_DEPENDS} \
-		${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${MY_DEPENDS}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR}
 
-USES=		localbase python
+USES=		ldap localbase python
 USE_PYTHON=	autoplist concurrent pep517 pytest
 PYTEST_IGNORED_TESTS=	TornadoLDAPConnectionTest.test_connection test_abandon \
 			test_acl_from_binary test_acl_to_binary \