git: 625e4ee12c1c - main - devel/py-pip-audit: Allow build with py-cyclonedx-python-lib 11.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Jul 2025 04:34:01 UTC
The branch main has been updated by sunpoet:

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

commit 625e4ee12c1c2c476b6459d29307b33e08fe3b79
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-29 03:47:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-29 04:30:01 +0000

    devel/py-pip-audit: Allow build with py-cyclonedx-python-lib 11.0.0+
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/pypa/pip-audit/commit/3360a3da3fdd5104e99a737de9b509b8e28dbad9
---
 devel/py-pip-audit/Makefile                   | 6 +++---
 devel/py-pip-audit/files/patch-pyproject.toml | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/devel/py-pip-audit/Makefile b/devel/py-pip-audit/Makefile
index c535ac2e26f7..b90dc4f7756e 100644
--- a/devel/py-pip-audit/Makefile
+++ b/devel/py-pip-audit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pip-audit
 PORTVERSION=	2.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI \
 		https://github.com/pypa/pip-audit/releases/download/v${PORTVERSION}/
@@ -16,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<11:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cyclonedx-python-lib>=5<12: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} \
@@ -25,7 +25,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.13.0:www/py-cachecontrol@${P
 		${PYTHON_PKGNAMEPREFIX}rich>=12.4:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toml>=0.10:textproc/py-toml@${PY_FLAVOR}
 
-USES=		python:3.9+
+USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
diff --git a/devel/py-pip-audit/files/patch-pyproject.toml b/devel/py-pip-audit/files/patch-pyproject.toml
index 0c79ee9c7892..d67addab052c 100644
--- a/devel/py-pip-audit/files/patch-pyproject.toml
+++ b/devel/py-pip-audit/files/patch-pyproject.toml
@@ -1,4 +1,5 @@
 Obtained from:	https://github.com/pypa/pip-audit/commit/fe414d39fedce53f44b91bd3f89d152689141f0c
+		https://github.com/pypa/pip-audit/commit/3360a3da3fdd5104e99a737de9b509b8e28dbad9
 
 --- pyproject.toml.orig	2025-04-07 16:45:09 UTC
 +++ pyproject.toml
@@ -7,7 +8,7 @@ Obtained from:	https://github.com/pypa/pip-audit/commit/fe414d39fedce53f44b91bd3
  dependencies = [
      "CacheControl[filecache] >= 0.13.0",
 -    "cyclonedx-python-lib >= 5,< 10",
-+    "cyclonedx-python-lib >= 5,< 11",
++    "cyclonedx-python-lib >= 5,< 12",
      "packaging>=23.0.0",                 # https://github.com/pypa/pip-audit/issues/464
      "pip-api>=0.0.28",
      "pip-requirements-parser>=32.0.0",