svn commit: r560147 - in head/www/py-httpx: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 3 20:16:56 UTC 2021


Author: sunpoet
Date: Sun Jan  3 20:16:50 2021
New Revision: 560147
URL: https://svnweb.freebsd.org/changeset/ports/560147

Log:
  Fix HTTP2 option after r559472
  
  - Bump PORTREVISION for package change

Added:
  head/www/py-httpx/files/
  head/www/py-httpx/files/patch-setup.py   (contents, props changed)
Modified:
  head/www/py-httpx/Makefile

Modified: head/www/py-httpx/Makefile
==============================================================================
--- head/www/py-httpx/Makefile	Sun Jan  3 20:16:45 2021	(r560146)
+++ head/www/py-httpx/Makefile	Sun Jan  3 20:16:50 2021	(r560147)
@@ -3,6 +3,7 @@
 
 PORTNAME=	httpx
 PORTVERSION=	0.16.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -30,6 +31,6 @@ BROTLI_DESC=	Brotli support
 HTTP2_DESC=	HTTP/2 support
 
 BROTLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}brotlipy>=0.7<0.8:archivers/py-brotlipy@${PY_FLAVOR}
-HTTP2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>=3<4:www/py-h2@${PY_FLAVOR}
+HTTP2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>=3<5:www/py-h2@${PY_FLAVOR}
 
 .include <bsd.port.mk>

Added: head/www/py-httpx/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-httpx/files/patch-setup.py	Sun Jan  3 20:16:50 2021	(r560147)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-10-08 12:15:02 UTC
++++ setup.py
+@@ -61,7 +61,7 @@ setup(
+         "httpcore==0.12.*",
+     ],
+     extras_require={
+-        "http2": "h2==3.*",
++        "http2": "h2>=3,<5",
+         "brotli": "brotlipy==0.7.*",
+     },
+     classifiers=[


More information about the svn-ports-all mailing list