1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

www/py-httpx: Update to 0.19.0

Changes:	https://github.com/encode/httpx/releases
This commit is contained in:
Po-Chuan Hsieh 2021-09-21 11:17:37 +08:00
parent 3eb36b91d7
commit f176f83841
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 6 additions and 16 deletions

View File

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= httpx
PORTVERSION= 0.18.2
PORTVERSION= 0.19.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,6 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
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.13.3<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} \
@ -28,7 +29,7 @@ OPTIONS_DEFAULT=HTTP2
BROTLI_DESC= Brotli support
HTTP2_DESC= HTTP/2 support
BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotlicffi>=1.0<2:archivers/py-brotlicffi@${PY_FLAVOR}
BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR}
HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3<5:www/py-h2@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1624189773
SHA256 (httpx-0.18.2.tar.gz) = 9f99c15d33642d38bce8405df088c1c4cfd940284b4290cacbfb02e64f4877c6
SIZE (httpx-0.18.2.tar.gz) = 96707
TIMESTAMP = 1632037280
SHA256 (httpx-0.19.0.tar.gz) = 92ecd2c00c688b529eda11cedb15161eaf02dee9116712f621c70d9a40b2cdd0
SIZE (httpx-0.19.0.tar.gz) = 97592

View File

@ -1,11 +0,0 @@
--- setup.py.orig 2021-04-29 12:57:41 UTC
+++ setup.py
@@ -63,7 +63,7 @@ setup(
"async_generator; python_version < '3.7'"
],
extras_require={
- "http2": "h2==3.*",
+ "http2": "h2>=3,<5",
"brotli": "brotlicffi==1.*",
},
classifiers=[