diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile index 96eae79b83d9..42d2c422f685 100644 --- a/www/py-yarl/Makefile +++ b/www/py-yarl/Makefile @@ -1,33 +1,34 @@ PORTNAME= yarl -PORTVERSION= 1.20.1 +PORTVERSION= 1.24.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Yet another URL library WWW= https://github.com/aio-libs/yarl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}expandvars>=0:devel/py-expandvars@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \ ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multidict>=4.0:www/py-multidict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}propcache>=0.2.0:devel/py-propcache@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-codspeed>0:devel/py-pytest-codspeed@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytest-codspeed>0:devel/py-pytest-codspeed@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic>=0:devel/py-pydantic@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist cython pep517 pytest +USE_PYTHON= autoplist cython pep517 pytest # pydantic test fails post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yarl/_quoting_c*.so pre-test: @cd ${TEST_WRKSRC}/yarl && ${LN} -fs ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yarl/_quoting_c*.so .include diff --git a/www/py-yarl/distinfo b/www/py-yarl/distinfo index 433e418df7d5..87ec57c33dfe 100644 --- a/www/py-yarl/distinfo +++ b/www/py-yarl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1752166485 -SHA256 (yarl-1.20.1.tar.gz) = d017a4997ee50c91fd5466cef416231bb82177b93b029906cefc542ce14c35ac -SIZE (yarl-1.20.1.tar.gz) = 186428 +TIMESTAMP = 1779374302 +SHA256 (yarl-1.24.2.tar.gz) = 9ac374123c6fd7abf64d1fec93962b0bd4ee2c19751755a762a72dd96c0378f8 +SIZE (yarl-1.24.2.tar.gz) = 210798 diff --git a/www/py-yarl/files/patch-pyproject.toml b/www/py-yarl/files/patch-pyproject.toml new file mode 100644 index 000000000000..6c1f807c7485 --- /dev/null +++ b/www/py-yarl/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-05-19 19:57:25 UTC ++++ pyproject.toml +@@ -4,7 +4,7 @@ requires = [ + # NOTE: provisioning of the in-tree build backend located under + # NOTE: `packaging/pep517_backend/`. + "expandvars", +- "setuptools >= 82.0.1", # Minimum required for `version = attr:` ++ "setuptools", + "tomli; python_version < '3.11'", + ] + backend-path = ["packaging"] # requires `pip >= 20` or `pep517 >= 0.6.0`