MFH: r560147

Fix HTTP2 option after r559472

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-01-06 18:57:04 +00:00
parent b5c9eab2f8
commit 3a841c8c58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=560557
2 changed files with 13 additions and 1 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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=[