Update RUN_DEPENDS: allow py-h11 0.10.0

It fixes the breakage after r548107.

Obtained from:	54d729ccc1
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-09-10 09:05:07 +00:00
parent 425a6c379c
commit 44ddc96cdf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548189
2 changed files with 14 additions and 1 deletions

View File

@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.10:net/py-h11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.11:net/py-h11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httptools>=0.1<0.2:www/py-httptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvloop>=0.14.0:devel/py-uvloop@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=8<9:devel/py-websockets@${PY_FLAVOR}

View File

@ -0,0 +1,13 @@
Obtained from: https://github.com/encode/uvicorn/commit/54d729ccc1638180a51e6ab600c4724e6424b048
--- setup.py.orig 2020-07-31 16:54:58 UTC
+++ setup.py
@@ -42,7 +42,7 @@ env_marker = (
requirements = [
"click==7.*",
- "h11>=0.8,<0.10",
+ "h11>=0.8,<0.11",
"websockets==8.*",
"httptools==0.1.* ;" + env_marker,
"uvloop>=0.14.0 ;" + env_marker,