summaryrefslogtreecommitdiff
path: root/devel/py-pip-audit
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pip-audit')
-rw-r--r--devel/py-pip-audit/Makefile3
-rw-r--r--devel/py-pip-audit/files/patch-pyproject.toml13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/py-pip-audit/Makefile b/devel/py-pip-audit/Makefile
index 35681ade0e0c..c535ac2e26f7 100644
--- a/devel/py-pip-audit/Makefile
+++ b/devel/py-pip-audit/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pip-audit
PORTVERSION= 2.9.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI \
https://github.com/pypa/pip-audit/releases/download/v${PORTVERSION}/
@@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.13.0:www/py-cachecontrol@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}cyclonedx-python-lib>=5<10:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cyclonedx-python-lib>=5<11:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=23.0.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pip-api>=0.0.28:devel/py-pip-api@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pip-requirements-parser>=32.0.0:devel/py-pip-requirements-parser@${PY_FLAVOR} \
diff --git a/devel/py-pip-audit/files/patch-pyproject.toml b/devel/py-pip-audit/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0c79ee9c7892
--- /dev/null
+++ b/devel/py-pip-audit/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+Obtained from: https://github.com/pypa/pip-audit/commit/fe414d39fedce53f44b91bd3f89d152689141f0c
+
+--- pyproject.toml.orig 2025-04-07 16:45:09 UTC
++++ pyproject.toml
+@@ -28,7 +28,7 @@ dependencies = [
+ ]
+ dependencies = [
+ "CacheControl[filecache] >= 0.13.0",
+- "cyclonedx-python-lib >= 5,< 10",
++ "cyclonedx-python-lib >= 5,< 11",
+ "packaging>=23.0.0", # https://github.com/pypa/pip-audit/issues/464
+ "pip-api>=0.0.28",
+ "pip-requirements-parser>=32.0.0",