Skip to content

Commit

Permalink
www/py-httpx: Update to 0.21.3
Browse files Browse the repository at this point in the history
- Allow build with py-rfc3986 2.0.0

Changes:	https://github.com/encode/httpx/releases
  • Loading branch information
sunpoet committed Jan 23, 2022
1 parent 52af15a commit 9f29f90
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions www/py-httpx/Makefile
@@ -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}
Expand All @@ -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+
Expand Down
6 changes: 3 additions & 3 deletions www/py-httpx/distinfo
@@ -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
11 changes: 11 additions & 0 deletions www/py-httpx/files/patch-setup.py
@@ -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'"
],

0 comments on commit 9f29f90

Please sign in to comment.