Skip to content

Commit

Permalink
www/py-httpx013: Fix build with py-chardet 4.0.0
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jun 10, 2021
1 parent 86439d8 commit 355fc05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion www/py-httpx013/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PORTNAME= httpx
PORTVERSION= 0.13.3
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -14,7 +15,7 @@ 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} \
Expand Down
8 changes: 6 additions & 2 deletions www/py-httpx013/files/patch-setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
--- 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.*",
Expand Down

0 comments on commit 355fc05

Please sign in to comment.