diff --git a/www/py-uvicorn/Makefile b/www/py-uvicorn/Makefile index 3237d0cce12b..d05122870e0f 100644 --- a/www/py-uvicorn/Makefile +++ b/www/py-uvicorn/Makefile @@ -1,40 +1,40 @@ # Created by: Po-Chuan Hsieh PORTNAME= uvicorn PORTVERSION= 0.13.4 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lightning-fast ASGI server LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h11>=0.8:net/py-h11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httptools>=0.1.0:www/py-httptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.13:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uvloop>=0.14.0:devel/py-uvloop@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}websockets>=8<9:devel/py-websockets@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}websockets>=8.0:devel/py-websockets@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= WATCHGODRELOAD WATCHGODRELOAD_DESC= Reload automatically with watchgod WATCHGODRELOAD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchgod>=0.6:devel/py-watchgod@${PY_FLAVOR} .include .if ${PYTHON_REL} < 3800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/www/py-uvicorn/files/patch-setup.py b/www/py-uvicorn/files/patch-setup.py index 66823613e206..4f0cecc2579c 100644 --- a/www/py-uvicorn/files/patch-setup.py +++ b/www/py-uvicorn/files/patch-setup.py @@ -1,11 +1,13 @@ ---- setup.py.orig 2021-02-20 16:49:00 UTC +--- setup.py.orig 2021-02-20 16:48:34 UTC +++ setup.py -@@ -52,7 +52,7 @@ minimal_requirements = [ +@@ -51,8 +51,8 @@ minimal_requirements = [ + extra_requirements = [ - "websockets==8.*", +- "websockets==8.*", - "httptools==0.1.* ;" + env_marker_cpython, ++ "websockets>=8.0", + "httptools>=0.1.0 ;" + env_marker_cpython, "uvloop>=0.14.0,!=0.15.0,!=0.15.1; " + env_marker_cpython, "colorama>=0.4;" + env_marker_win, "watchgod>=0.6",