git: 37824937b8a8 - main - www/py-uvicorn: Update setup.py for py-httptools 0.2.0 update
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 2 19:52:53 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37824937b8a873e8890442459b77bb252c44f665
commit 37824937b8a873e8890442459b77bb252c44f665
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-02 19:46:21 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-02 19:46:21 +0000
www/py-uvicorn: Update setup.py for py-httptools 0.2.0 update
- Bump PORTREVISION for package change
Reported by: olgeni
---
www/py-uvicorn/Makefile | 2 +-
www/py-uvicorn/files/patch-setup.py | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/www/py-uvicorn/Makefile b/www/py-uvicorn/Makefile
index 3d52f3dc9268..3237d0cce12b 100644
--- a/www/py-uvicorn/Makefile
+++ b/www/py-uvicorn/Makefile
@@ -15,7 +15,7 @@ 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.2:www/py-httptools@${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} \
diff --git a/www/py-uvicorn/files/patch-setup.py b/www/py-uvicorn/files/patch-setup.py
new file mode 100644
index 000000000000..66823613e206
--- /dev/null
+++ b/www/py-uvicorn/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2021-02-20 16:49:00 UTC
++++ setup.py
+@@ -52,7 +52,7 @@ minimal_requirements = [
+
+ extra_requirements = [
+ "websockets==8.*",
+- "httptools==0.1.* ;" + env_marker_cpython,
++ "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",
More information about the dev-commits-ports-all
mailing list