git: 1121a467a293 - main - www/py-httpx: Allow build with py-httpcore 0.17.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 17:39:17 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1121a467a293010a5d8499586d107dab0d3c28dd commit 1121a467a293010a5d8499586d107dab0d3c28dd Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-05 17:20:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-05 17:30:59 +0000 www/py-httpx: Allow build with py-httpcore 0.17.0 - Bump PORTREVISION for package change --- www/py-httpx/Makefile | 4 ++-- www/py-httpx/files/patch-pyproject.toml | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile index efb5dea0150f..d7b6e5701c31 100644 --- a/www/py-httpx/Makefile +++ b/www/py-httpx/Makefile @@ -1,6 +1,6 @@ PORTNAME= httpx PORTVERSION= 0.23.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}httpcore>=0.15.0<0.17.0:www/py-httpcore@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpcore>=0.15.0<0.18.0:www/py-httpcore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rfc3986>=1.3,1<2,1:www/py-rfc3986@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR} diff --git a/www/py-httpx/files/patch-pyproject.toml b/www/py-httpx/files/patch-pyproject.toml new file mode 100644 index 000000000000..73fabfcc2213 --- /dev/null +++ b/www/py-httpx/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -29,7 +29,7 @@ classifiers = [ + ] + dependencies = [ + "certifi", +- "httpcore>=0.15.0,<0.17.0", ++ "httpcore>=0.15.0,<0.18.0", + "rfc3986[idna2008]>=1.3,<2", + "sniffio", + ]