aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-25 09:00:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-25 09:00:54 +0000
commitd96d24f921ffe5a2f70e675ff1b81531d363a934 (patch)
treeeb36577d7fcde21dfdbc3401dd8bfbcb8c25e637
parentf6a192bd8e0e6fae8c03bee51a0a45d6764caa19 (diff)
downloadports-d96d24f921ffe5a2f70e675ff1b81531d363a934.tar.gz
ports-d96d24f921ffe5a2f70e675ff1b81531d363a934.zip
security/py-httpx-auth: Allow build with py-httpx 0.26.0+
- Bump PORTREVISION for package change
-rw-r--r--security/py-httpx-auth/Makefile3
-rw-r--r--security/py-httpx-auth/files/patch-pyproject.toml11
2 files changed, 13 insertions, 1 deletions
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"]
+