diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile index a9439a1c5dde..25756bfacbef 100644 --- a/www/py-httpx/Makefile +++ b/www/py-httpx/Makefile @@ -3,6 +3,7 @@ PORTNAME= httpx PORTVERSION= 0.16.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -30,6 +31,6 @@ BROTLI_DESC= Brotli support HTTP2_DESC= HTTP/2 support BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotlipy>=0.7<0.8:archivers/py-brotlipy@${PY_FLAVOR} -HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3<4:www/py-h2@${PY_FLAVOR} +HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3<5:www/py-h2@${PY_FLAVOR} .include diff --git a/www/py-httpx/files/patch-setup.py b/www/py-httpx/files/patch-setup.py new file mode 100644 index 000000000000..9caaa9755b45 --- /dev/null +++ b/www/py-httpx/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2020-10-08 12:15:02 UTC ++++ setup.py +@@ -61,7 +61,7 @@ setup( + "httpcore==0.12.*", + ], + extras_require={ +- "http2": "h2==3.*", ++ "http2": "h2>=3,<5", + "brotli": "brotlipy==0.7.*", + }, + classifiers=[