Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2026 20:39:34 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Goran=?utf-8?Q? Meki=C4=87?= <meka@tilda.center>
Subject:   git: f1d1dd1693a5 - main - net/py-bonsai: Update 1.5.3 => 1.5.4
Message-ID:  <69640a86.c9dd.69483a3a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

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

commit f1d1dd1693a5a74b31f428a3b759c129b85ecc7b
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2026-01-11 20:35:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-11 20:35:47 +0000

    net/py-bonsai: Update 1.5.3 => 1.5.4
    
    Changelog:
    https://github.com/noirello/bonsai/blob/v1.5.4/CHANGELOG.rst
    
    Switch to pep.
    
    PR:             292302
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
---
 net/py-bonsai/Makefile                   | 16 +++++++++++-----
 net/py-bonsai/distinfo                   |  6 +++---
 net/py-bonsai/files/patch-pyproject.toml | 12 ++++++++++++
 3 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/net/py-bonsai/Makefile b/net/py-bonsai/Makefile
index 23b42776350d..6582f4a02b12 100644
--- a/net/py-bonsai/Makefile
+++ b/net/py-bonsai/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	bonsai
-DISTVERSION=	1.5.3
-PORTREVISION=	1
+DISTVERSION=	1.5.4
 CATEGORIES=	net devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,14 +12,16 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 MY_DEPENDS=	openldap26-client>=0:net/openldap26-client
-BUILD_DEPENDS=	${MY_DEPENDS}
+BUILD_DEPENDS=	${MY_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
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 PYTEST_IGNORED_TESTS=	TornadoLDAPConnectionTest.test_connection test_abandon \
 			test_acl_from_binary test_acl_to_binary \
 			test_add_and_delete test_async_close_remove_pendig_ops \
@@ -54,7 +55,9 @@ PYTEST_IGNORED_TESTS=	TornadoLDAPConnectionTest.test_connection test_abandon \
 			test_vlv_attrvalue test_vlv_offset \
 			test_vlv_without_sort_order test_whoami \
 			test_wrong_add_param test_wrong_conn_param \
-			test_wrong_delete_param test_wrong_search_param
+			test_wrong_delete_param test_wrong_search_param \
+			test_bind_gssapi
+TEST_ENV=	PYTHONPATH="${WRKSRC}/build/lib.${OPSYS:tl}-${_OSRELEASE}-${ARCH}-cpython-${PYTHON_SUFFIX}"
 
 OPTIONS_DEFINE=	GEVENT TORNADO TRIO
 
@@ -65,4 +68,7 @@ TORNADO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVO
 TRIO_DESC=		Support for async IO using trio
 TRIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>=0:net/py-trio@${PY_FLAVOR}
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_${PORTNAME}.cpython-${PYTHON_SUFFIX}.so
+
 .include <bsd.port.mk>
diff --git a/net/py-bonsai/distinfo b/net/py-bonsai/distinfo
index fd1b51e0bd0a..1de79958542d 100644
--- a/net/py-bonsai/distinfo
+++ b/net/py-bonsai/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715699649
-SHA256 (bonsai-1.5.3.tar.gz) = c230e79e9c1c8e1e098cf3872feafd23027a6b7c078caa36077155b9641ea9f2
-SIZE (bonsai-1.5.3.tar.gz) = 150766
+TIMESTAMP = 1767976315
+SHA256 (bonsai-1.5.4.tar.gz) = 52a7fe9a23f57c84dc745a5f2831d11c668734b139a2ff7df04c0ff22676a2c7
+SIZE (bonsai-1.5.4.tar.gz) = 150601
diff --git a/net/py-bonsai/files/patch-pyproject.toml b/net/py-bonsai/files/patch-pyproject.toml
new file mode 100644
index 000000000000..dfffbe732cae
--- /dev/null
+++ b/net/py-bonsai/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig	2026-01-09 16:41:07 UTC
++++ pyproject.toml
+@@ -8,8 +8,7 @@ description = "Python 3 module for accessing LDAP dire
+ [project]
+ name = "bonsai"
+ description = "Python 3 module for accessing LDAP directory servers."
+-license = "MIT"
+-license-files = ["LICENSE"] 
++license = { file = "LICENSE" }
+ dynamic = ["version"]
+ authors = [{name = "noirello", email = "noirello@gmail.com"}]
+ requires-python = '>=3.9,<4.0'


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69640a86.c9dd.69483a3a>