git: 4d839b9a7d5e - main - benchmarks/py-locust: Fix RUN_DEPENDS

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

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

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

    benchmarks/py-locust: Fix RUN_DEPENDS
    
    - Use PY_TOMLI
    - While I'm here, convert to USE_PYTHON=pep517
    - Bump PORTREVISION for dependency change
    
    from setup.py:
            "toml": ['tomli; python_full_version<="3.11.0a6"'],
    
    Reference:      https://github.com/nedbat/coveragepy/blob/7.9.2/setup.py#L98
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-coverage/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/devel/py-coverage/Makefile b/devel/py-coverage/Makefile
index 69dccf55e7eb..0acdcd4a3a49 100644
--- a/devel/py-coverage/Makefile
+++ b/devel/py-coverage/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	coverage
 PORTVERSION=	7.9.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,16 +11,18 @@ WWW=		https://coverage.readthedocs.io/
 
 LICENSE=	BSD2CLAUSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 OPTIONS_DEFINE=	TOML
 OPTIONS_DEFAULT=TOML
 TOML_DESC=	Enable pyproject.toml support
 
-TOML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
+TOML_RUN_DEPENDS=	${PY_TOMLI}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coverage/tracer*.so