Skip to content

Commit

Permalink
devel/py-hacking: Allow build with py-flake8 7.0.0
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Apr 10, 2024
1 parent f9ac96b commit 24bb4d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devel/py-hacking/Makefile
@@ -1,5 +1,6 @@
PORTNAME= hacking
PORTVERSION= 6.1.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=6.1.0<6.2:devel/py-flake8@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=6.1.0:devel/py-flake8@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent pep517
Expand Down
5 changes: 5 additions & 0 deletions devel/py-hacking/files/patch-requirements.txt
@@ -0,0 +1,5 @@
--- requirements.txt.orig 2023-12-08 14:14:01 UTC
+++ requirements.txt
@@ -1 +1 @@
-flake8~=6.1.0 # MIT
+flake8>=6.1.0 # MIT

0 comments on commit 24bb4d9

Please sign in to comment.