git: 8df29ed6c0d4 - main - www/py-httpx: Fix build with py-httpcore 0.13 update

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 25 20:39:37 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8df29ed6c0d4357eac11eb0ace0cb479bf44b117

commit 8df29ed6c0d4357eac11eb0ace0cb479bf44b117
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-25 20:16:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-04-25 20:35:38 +0000

    www/py-httpx: Fix build with py-httpcore 0.13 update
    
    - Bump PORTREVISION for package change
---
 www/py-httpx/Makefile             |  3 ++-
 www/py-httpx/files/patch-setup.py | 10 +++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile
index 68979470867b..7eea1fd748b8 100644
--- a/www/py-httpx/Makefile
+++ b/www/py-httpx/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	httpx
 PORTVERSION=	0.17.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpcore>=0.12.1<0.13:www/py-httpcore@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpcore>=0.12.1<0.14:www/py-httpcore@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rfc3986>=1.3<2:www/py-rfc3986@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
diff --git a/www/py-httpx/files/patch-setup.py b/www/py-httpx/files/patch-setup.py
index 9caaa9755b45..836464d0a902 100644
--- a/www/py-httpx/files/patch-setup.py
+++ b/www/py-httpx/files/patch-setup.py
@@ -1,7 +1,11 @@
---- setup.py.orig	2020-10-08 12:15:02 UTC
+--- setup.py.orig	2021-03-15 09:19:02 UTC
 +++ setup.py
-@@ -61,7 +61,7 @@ setup(
-         "httpcore==0.12.*",
+@@ -59,10 +59,10 @@ setup(
+         "certifi",
+         "sniffio",
+         "rfc3986[idna2008]>=1.3,<2",
+-        "httpcore>=0.12.1,<0.13",
++        "httpcore>=0.12.1,<0.14",
      ],
      extras_require={
 -        "http2": "h2==3.*",


More information about the dev-commits-ports-all mailing list