diff --git a/www/py-httpx013/Makefile b/www/py-httpx013/Makefile index a85d410ff89c..412bf666b825 100644 --- a/www/py-httpx013/Makefile +++ b/www/py-httpx013/Makefile @@ -1,31 +1,32 @@ # Created by: Po-Chuan Hsieh PORTNAME= httpx PORTVERSION= 0.13.3 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 013 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Next generation HTTP client LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}chardet>=3.0,1<4,1:textproc/py-chardet@${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}rfc3986>=1.3<2:www/py-rfc3986@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTSCOUT= limit:^0\.13\. .include diff --git a/www/py-httpx013/files/patch-setup.py b/www/py-httpx013/files/patch-setup.py index a314abea292e..6346ee9dc13e 100644 --- a/www/py-httpx013/files/patch-setup.py +++ b/www/py-httpx013/files/patch-setup.py @@ -1,11 +1,15 @@ --- setup.py.orig 2020-05-29 10:29:22 UTC +++ setup.py -@@ -61,7 +61,7 @@ setup( - "chardet==3.*", +@@ -58,10 +58,10 @@ setup( + "certifi", + "hstspreload", + "sniffio", +- "chardet==3.*", ++ "chardet>=3.0", "idna==2.*", "rfc3986>=1.3,<2", - "httpcore==0.9.*", + "httpcore>=0.9", ], classifiers=[ "Development Status :: 4 - Beta",