git: 78e9016fd75e - main - www/py-uvicorn: Fix build after de9f2bce3fb33121e676fae95aba97368beb8f51
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri May 7 09:54:05 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=78e9016fd75efa29be61efbab34d724050b39530
commit 78e9016fd75efa29be61efbab34d724050b39530
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-07 09:23:41 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-07 09:39:15 +0000
www/py-uvicorn: Fix build after de9f2bce3fb33121e676fae95aba97368beb8f51
I've run the tests and the results are the same (3 failed, 212 passed) except
"DeprecationWarning: websockets.handshake is deprecated".
---
www/py-uvicorn/Makefile | 2 +-
www/py-uvicorn/files/patch-setup.py | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
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
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${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
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,10 +1,12 @@
---- 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,
More information about the dev-commits-ports-all
mailing list