From a1a1adbff13e6ab1835558072b471fbbe7b71e10 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Fri, 30 Dec 2022 16:46:06 +0800 Subject: www/py-aiohttp: Allow build with py-charset-normalizer 3.x - Bump PORTREVISION for package change Obtained from: https://github.com/aio-libs/aiohttp/commit/cf8e25d0175f1d4874781b67c0dd466557be8e69 --- www/py-aiohttp/Makefile | 3 ++- www/py-aiohttp/files/patch-setup.cfg | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 www/py-aiohttp/files/patch-setup.cfg diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile index 274c8c3f5847..e91c6b0905ac 100644 --- a/www/py-aiohttp/Makefile +++ b/www/py-aiohttp/Makefile @@ -1,5 +1,6 @@ PORTNAME= aiohttp PORTVERSION= 3.8.3 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosignal>=1.1.2:devel/py-aiosignal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.0<5.0:devel/py-async_timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=17.3.0:devel/py-attrs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2.0<3.0:textproc/py-charset-normalizer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2.0<4.0:textproc/py-charset-normalizer@${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}yarl>=1.0<2.0:www/py-yarl@${PY_FLAVOR} diff --git a/www/py-aiohttp/files/patch-setup.cfg b/www/py-aiohttp/files/patch-setup.cfg new file mode 100644 index 000000000000..1517513f3550 --- /dev/null +++ b/www/py-aiohttp/files/patch-setup.cfg @@ -0,0 +1,13 @@ +Obtained from: https://github.com/aio-libs/aiohttp/commit/cf8e25d0175f1d4874781b67c0dd466557be8e69 + +--- setup.cfg.orig 2022-09-21 13:09:48 UTC ++++ setup.cfg +@@ -47,7 +47,7 @@ zip_safe = False + include_package_data = True + install_requires = + attrs >= 17.3.0 +- charset-normalizer >=2.0, < 3.0 ++ charset-normalizer >=2.0, < 4.0 + multidict >=4.5, < 7.0 + async_timeout >= 4.0.0a3, < 5.0 + asynctest == 0.13.0; python_version<"3.8" -- cgit v1.2.3