diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile index 7fa83b776b54..9d6b3975515c 100644 --- a/www/py-aiohttp/Makefile +++ b/www/py-aiohttp/Makefile @@ -1,55 +1,51 @@ PORTNAME= aiohttp -PORTVERSION= 3.10.11 +PORTVERSION= 3.11.2 CATEGORIES= www python MASTER_SITES= PYPI \ https://github.com/aio-libs/aiohttp/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Async http client/server framework (asyncio) WWW= https://docs.aiohttp.org/en/stable/ \ https://github.com/aio-libs/aiohttp LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohappyeyeballs>=2.3.0:net/py-aiohappyeyeballs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}frozenlist>=1.1.1:devel/py-frozenlist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}multidict>=4.5<7.0:www/py-multidict@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}propcache>=0.2.0:devel/py-propcache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yarl>=1.12.0<2.0:www/py-yarl@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>=1.1:dns/py-aiodns@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}freezegun>=0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=0:www/py-gunicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}re-assert>=0:devel/py-re-assert@${PY_FLAVOR} -USES= cpe python +USES= cpe python:3.9+ USE_PYTHON= autoplist concurrent cython pep517 pytest CPE_VENDOR= aiohttp_project OPTIONS_DEFINE= SPEEDUPS SPEEDUPS_DESC= Performance speedups SPEEDUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>=3.0.0:dns/py-aiodns@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0<6.0:devel/py-async_timeout@${PY_FLAVOR} .endif -pre-configure: -.for file in _helpers _http_parser _http_writer _websocket - @cd ${WRKSRC} && ${RM} aiohttp/${file}.c && cython-${PYTHON_VER} -3 -I aiohttp -o aiohttp/${file}.c aiohttp/${file}.pyx -.endfor - post-install: ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/www/py-aiohttp/distinfo b/www/py-aiohttp/distinfo index 3ab4bb98124c..c9c335df43f0 100644 --- a/www/py-aiohttp/distinfo +++ b/www/py-aiohttp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731679344 -SHA256 (aiohttp-3.10.11.tar.gz) = 9dc2b8f3dcab2e39e0fa309c8da50c3b55e6f34ab25f1a71d3288f24924d33a7 -SIZE (aiohttp-3.10.11.tar.gz) = 7551886 +TIMESTAMP = 1732202558 +SHA256 (aiohttp-3.11.2.tar.gz) = 68d1f46f9387db3785508f5225d3acbc5825ca13d9c29f2b5cce203d5863eb79 +SIZE (aiohttp-3.11.2.tar.gz) = 7658216 diff --git a/www/py-aiohttp/files/patch-setup.cfg b/www/py-aiohttp/files/patch-setup.cfg index 4d963815fdaa..a304ef46a772 100644 --- a/www/py-aiohttp/files/patch-setup.cfg +++ b/www/py-aiohttp/files/patch-setup.cfg @@ -1,11 +1,20 @@ ---- setup.cfg.orig 2024-07-30 19:48:43 UTC +--- setup.cfg.orig 2024-11-19 15:00:20 UTC +++ setup.cfg -@@ -62,7 +62,7 @@ speedups = +@@ -56,7 +56,7 @@ install_requires = + frozenlist >= 1.1.1 + multidict >=4.5, < 7.0 + propcache >= 0.2.0 +- yarl >= 1.17.0, < 2.0 ++ yarl >= 1.12.0, < 2.0 + + [options.exclude_package_data] + * = +@@ -65,7 +65,7 @@ speedups = [options.extras_require] speedups = - aiodns >= 3.2.0; sys_platform=="linux" or sys_platform=="darwin" + aiodns >= 3.0.0; sys_platform=="linux" or sys_platform=="darwin" Brotli; platform_python_implementation == 'CPython' brotlicffi; platform_python_implementation != 'CPython'