git: a736d4b92264 - main - devel/py-pyproject-flake8: Allow build with py-flake8 7.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Jul 2024 16:19:09 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a736d4b92264ea831f39b0070857169ba108bfad
commit a736d4b92264ea831f39b0070857169ba108bfad
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:03:34 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:03:34 +0000
devel/py-pyproject-flake8: Allow build with py-flake8 7.0.0+
- Bump PORTREVISION for package change
---
devel/py-pyproject-flake8/Makefile | 3 ++-
devel/py-pyproject-flake8/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/py-pyproject-flake8/Makefile b/devel/py-pyproject-flake8/Makefile
index f7f27c318aa7..cd43d3388366 100644
--- a/devel/py-pyproject-flake8/Makefile
+++ b/devel/py-pyproject-flake8/Makefile
@@ -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
diff --git a/devel/py-pyproject-flake8/files/patch-pyproject.toml b/devel/py-pyproject-flake8/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b8af04e3d174
--- /dev/null
+++ b/devel/py-pyproject-flake8/files/patch-pyproject.toml
@@ -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]