benchmarks/py-locust-cloud: 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/locustcloud/locust-cloud/blob/1.26.3/pyproject.toml#L10
Approved by:	portmgr (blanket)
With hat:	python
This commit is contained in:
Po-Chuan Hsieh 2025-09-10 12:37:52 +08:00
parent 4b5bd7f34d
commit 85e30fe43e
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= locust-cloud
DISTVERSION= 1.26.3
PORTREVISION= 1
CATEGORIES= benchmarks www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -18,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configargparse>=0:devel/py-configargparse@${
${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}platformdirs>=0:devel/py-platformdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-socketio>=0:devel/py-python-socketio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \
${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}python-engineio>=0:devel/py-python-engineio@${PY_FLAVOR}
USES= python