git: d96d24f921ff - main - security/py-httpx-auth: Allow build with py-httpx 0.26.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 09:09:39 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d96d24f921ffe5a2f70e675ff1b81531d363a934

commit d96d24f921ffe5a2f70e675ff1b81531d363a934
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 09:00:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 09:00:54 +0000

    security/py-httpx-auth: Allow build with py-httpx 0.26.0+
    
    - Bump PORTREVISION for package change
---
 security/py-httpx-auth/Makefile                   |  3 ++-
 security/py-httpx-auth/files/patch-pyproject.toml | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/security/py-httpx-auth/Makefile b/security/py-httpx-auth/Makefile
index 9463ad757291..38608f2b51f0 100644
--- a/security/py-httpx-auth/Makefile
+++ b/security/py-httpx-auth/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	httpx-auth
 PORTVERSION=	0.18.0
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.25.0<0.26:www/py-httpx@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.25.0<0.27:www/py-httpx@${PY_FLAVOR}
 
 USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/security/py-httpx-auth/files/patch-pyproject.toml b/security/py-httpx-auth/files/patch-pyproject.toml
new file mode 100644
index 000000000000..80b246885b10
--- /dev/null
+++ b/security/py-httpx-auth/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2023-09-11 18:50:46 UTC
++++ pyproject.toml
+@@ -29,7 +29,7 @@ classifiers=[
+     "Topic :: Software Development :: Build Tools",
+ ]
+ dependencies = [
+-    "httpx==0.25.*",
++    "httpx>=0.25.0, <0.27",
+ ]
+ dynamic = ["version"]
+