git: d9b8580486ed - main - www/py-httpx013: Allow build with py-idna 3.*

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:23:13 UTC
The branch main has been updated by sunpoet:

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

commit d9b8580486ed162db245f64261c3591bb4db988d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 03:58:57 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:29 +0000

    www/py-httpx013: Allow build with py-idna 3.*
    
    - Bump PORTREVISION for package change
---
 www/py-httpx013/Makefile             | 4 ++--
 www/py-httpx013/files/patch-setup.py | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/www/py-httpx013/Makefile b/www/py-httpx013/Makefile
index 88885071b67f..565944b06dc2 100644
--- a/www/py-httpx013/Makefile
+++ b/www/py-httpx013/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	httpx
 PORTVERSION=	0.13.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,7 +18,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}chardet>=3.0,1:textproc/py-chardet@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hstspreload>=0:www/py-hstspreload@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}httpcore>=0.9:www/py-httpcore@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}idna>=2.0<3:dns/py-idna@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rfc3986>=1.3:www/py-rfc3986@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
 
diff --git a/www/py-httpx013/files/patch-setup.py b/www/py-httpx013/files/patch-setup.py
index d581652ab06f..0bd68e79c050 100644
--- a/www/py-httpx013/files/patch-setup.py
+++ b/www/py-httpx013/files/patch-setup.py
@@ -5,10 +5,11 @@
          "hstspreload",
          "sniffio",
 -        "chardet==3.*",
-+        "chardet>=3.0",
-         "idna==2.*",
+-        "idna==2.*",
 -        "rfc3986>=1.3,<2",
 -        "httpcore==0.9.*",
++        "chardet>=3.0",
++        "idna>=2.0",
 +        "rfc3986>=1.3",
 +        "httpcore>=0.9",
      ],