devel/py-pip-audit: Allow build with py-cyclonedx-python-lib 7.0.0+

- Bump PORTREVISION for package change

Obtained from:	f24688067b
main
Po-Chuan Hsieh 2024-04-10 17:35:25 +08:00
parent 27746d8540
commit 6f334aa7bd
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= pip-audit
PORTVERSION= 2.7.2
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<7:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cyclonedx-python-lib>=5<8:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5lib>=1.1:www/py-html5lib@${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} \

View File

@ -0,0 +1,13 @@
Obtained from: https://github.com/pypa/pip-audit/commit/f24688067bf916a8f69b30bbe4581ae15246f1d0
--- pyproject.toml.orig 2024-02-29 16:06:23 UTC
+++ pyproject.toml
@@ -28,7 +28,7 @@ dependencies = [
]
dependencies = [
"CacheControl[filecache] >= 0.13.0",
- "cyclonedx-python-lib >= 5,< 7",
+ "cyclonedx-python-lib >= 5,< 8",
"html5lib>=1.1",
"packaging>=23.0.0", # https://github.com/pypa/pip-audit/issues/464
"pip-api>=0.0.28",