benchmarks/py-locust: Fix RUN_DEPENDS

- Use PY_TOMLI
- Bump PORTREVISION for dependency change

from pyproject.toml:
    "tomli>=1.1.0; python_version < '3.11'",

Reference:	https://github.com/locustio/locust/blob/2.37.10/pyproject.toml#L44
Approved by:	portmgr (blanket)
With hat:	python
This commit is contained in:
Po-Chuan Hsieh
2025-09-10 12:37:51 +08:00
parent a4ce4534b0
commit 4b5bd7f34d
+2 -1
View File
@@ -1,5 +1,6 @@
PORTNAME= locust
DISTVERSION= 2.37.10
PORTREVISION= 1
CATEGORIES= benchmarks www python
MASTER_SITES= PYPI \
https://github.com/locustio/locust/archive/refs/tags/:EXTRA
@@ -31,7 +32,7 @@ RUN_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \
${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \