Skip to content

Commit

Permalink
www/py-httpx013: Allow build with py-idna 3.*
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change

(cherry picked from commit d9b8580)
  • Loading branch information
sunpoet committed Apr 17, 2022
1 parent 6f82151 commit c209cac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/py-httpx013/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= httpx
PORTVERSION= 0.13.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${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}idna>=2.0:dns/py-idna@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rfc3986>=1.3:www/py-rfc3986@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}

Expand Down
5 changes: 3 additions & 2 deletions www/py-httpx013/files/patch-setup.py
Expand Up @@ -5,10 +5,11 @@
"hstspreload",
"sniffio",
- "chardet==3.*",
+ "chardet>=3.0",
"idna==2.*",
- "idna==2.*",
- "rfc3986>=1.3,<2",
- "httpcore==0.9.*",
+ "chardet>=3.0",
+ "idna>=2.0",
+ "rfc3986>=1.3",
+ "httpcore>=0.9",
],
Expand Down

0 comments on commit c209cac

Please sign in to comment.