devel/py-pyproject-flake8: Allow build with py-flake8 7.0.0+

- Bump PORTREVISION for package change

(cherry picked from commit a736d4b922)
This commit is contained in:
Po-Chuan Hsieh 2024-07-07 00:03:34 +08:00
parent fac7da4802
commit bbffa35208
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= pyproject-flake8
PORTVERSION= 7.0.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,7 +14,7 @@ LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=7.0.0<7.0.0_99:devel/py-flake8@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=7.0.0:devel/py-flake8@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517

View File

@ -0,0 +1,11 @@
--- pyproject.toml.orig 2024-04-09 22:10:21 UTC
+++ pyproject.toml
@@ -12,7 +12,7 @@ dependencies = [
requires-python = ">=3.8.1"
dependencies = [
"tomli; python_version < '3.11'",
- "flake8 == 7.0.0"
+ "flake8 >= 7.0.0"
]
[project.urls]