aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-10 09:10:05 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-09-10 09:10:05 +0000
commit71c012424f201ef4374cc49d6936ac45ab6ab414 (patch)
tree10ceab5b0875cb4f869dab597235fbe6fd0eb696 /www
parent44ddc96cdf6321b98a04a43a91191a21b90213a6 (diff)
downloadports-71c012424f201ef4374cc49d6936ac45ab6ab414.tar.gz
ports-71c012424f201ef4374cc49d6936ac45ab6ab414.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/py-httpcore/Makefile2
-rw-r--r--www/py-httpcore/files/patch-setup.py11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/py-httpcore/Makefile b/www/py-httpcore/Makefile
index d0b2a6b5acaf..75c61332f0bd 100644
--- a/www/py-httpcore/Makefile
+++ b/www/py-httpcore/Makefile
@@ -13,7 +13,7 @@ COMMENT= Minimal low-level HTTP client
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.10:net/py-h11@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.11:net/py-h11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sniffio>=1.0<2:devel/py-sniffio@${PY_FLAVOR}
USES= python:3.6+
diff --git a/www/py-httpcore/files/patch-setup.py b/www/py-httpcore/files/patch-setup.py
new file mode 100644
index 000000000000..5ea1f92ae4db
--- /dev/null
+++ b/www/py-httpcore/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-08-20 09:34:45 UTC
++++ setup.py
+@@ -53,7 +53,7 @@ setup(
+ packages=get_packages("httpcore"),
+ include_package_data=True,
+ zip_safe=False,
+- install_requires=["h11>=0.8,<0.10", "sniffio==1.*"],
++ install_requires=["h11>=0.8,<0.11", "sniffio==1.*"],
+ extras_require={
+ "http2": ["h2==3.*"],
+ },