Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2021 20:16:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560147 - in head/www/py-httpx: . files
Message-ID:  <202101032016.103KGoHB011693@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101032016.103KGoHB011693>