www/py-httpx: Update to 0.21.3

- Allow build with py-rfc3986 2.0.0

Changes:	https://github.com/encode/httpx/releases
This commit is contained in:
Po-Chuan Hsieh 2022-01-24 02:21:18 +08:00
parent 52af15a304
commit 9f29f90e12
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 16 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= httpx
PORTVERSION= 0.21.1
PORTVERSION= 0.21.3
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}charset-normalizer>=0:textproc/py-charset-normalizer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpcore>=0.14.0<0.15.0: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}rfc3986>=1.3:www/py-rfc3986@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
USES= python:3.7+

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1637519910
SHA256 (httpx-0.21.1.tar.gz) = 02af20df486b78892a614a7ccd4e4e86a5409ec4981ab0e422c579a887acad83
SIZE (httpx-0.21.1.tar.gz) = 106006
TIMESTAMP = 1642102369
SHA256 (httpx-0.21.3.tar.gz) = 7a3eb67ef0b8abbd6d9402248ef2f84a76080fa1c839f8662e6eb385640e445a
SIZE (httpx-0.21.3.tar.gz) = 106566

View file

@ -0,0 +1,11 @@
--- setup.py.orig 2022-01-06 14:37:19 UTC
+++ setup.py
@@ -59,7 +59,7 @@ setup(
"certifi",
"charset_normalizer",
"sniffio",
- "rfc3986[idna2008]>=1.3,<2",
+ "rfc3986[idna2008]>=1.3",
"httpcore>=0.14.0,<0.15.0",
"async_generator; python_version < '3.7'"
],