Date: Mon, 25 Nov 2024 16:11:40 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 24a5ef489871 - main - www/py-yarl: Add missing dependencies Message-ID: <202411251611.4APGBekK065998@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=24a5ef4898712940caef660979b3f7a359667a6d commit 24a5ef4898712940caef660979b3f7a359667a6d Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2024-11-25 16:07:19 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2024-11-25 16:11:20 +0000 www/py-yarl: Add missing dependencies The update to 1.18.0 was not properly tested, missed runtime dependencies and was broken: ``` % python3 -c 'import yarl' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.11/site-packages/yarl/__init__.py", line 2, in <module> from ._url import URL, cache_clear, cache_configure, cache_info File "/usr/local/lib/python3.11/site-packages/yarl/_url.py", line 13, in <module> from propcache.api import under_cached_property as cached_property ModuleNotFoundError: No module named 'propcache' ``` Add missing RUN_DEPEND on a recently added py-propcache, and add missing test dependencies as well. PR: 282913 Pointyhat to: bapt --- www/py-yarl/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile index af8e0d437c24..6d68bdbbf824 100644 --- a/www/py-yarl/Makefile +++ b/www/py-yarl/Makefile @@ -1,5 +1,6 @@ PORTNAME= yarl PORTVERSION= 1.18.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,8 +17,11 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}multidict>0:www/py-multidict@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}propcache>0:devel/py-propcache@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-codspeed>0:devel/py-pytest-codspeed@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 pytest
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411251611.4APGBekK065998>