git: 522a2168a564 - main - devel/py-bandit: Fix TEST_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 10 Sep 2025 04:46:55 UTC
The branch main has been updated by sunpoet:

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

commit 522a2168a564b553ed0837b83f2eb21899c24bfc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-10 04:37:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-10 04:37:54 +0000

    devel/py-bandit: Fix TEST_DEPENDS
    
    - Use PY_TOMLI
    
    from setup.cfg:
        tomli>=1.1.0; python_version < "3.11"
    
    Reference:      https://github.com/PyCQA/bandit/blob/1.7.10/setup.cfg#L37
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-bandit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-bandit/Makefile b/devel/py-bandit/Makefile
index a4af7caf7b50..d3533f5e00b4 100644
--- a/devel/py-bandit/Makefile
+++ b/devel/py-bandit/Makefile
@@ -26,7 +26,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.8.0:www/py-beautifulsoup@$
 		pylint${PYTHON_PKGNAMESUFFIX}>=1.9.4:devel/pylint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}testscenarios>=0.5.0:devel/py-testscenarios@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}testtools>=2.3.0:devel/py-testtools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
+		${PY_TOMLI}
 
 USES=		python
 USE_PYTHON=	autoplist distutils pytest # 1 test fails, see https://github.com/PyCQA/bandit/issues/1083