From 24bb4d98afeb4a4dd96874f8dfca087e225fb9ac Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Thu, 11 Apr 2024 03:47:34 +0800 Subject: devel/py-hacking: Allow build with py-flake8 7.0.0 - Bump PORTREVISION for package change --- devel/py-hacking/Makefile | 3 ++- devel/py-hacking/files/patch-requirements.txt | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 devel/py-hacking/files/patch-requirements.txt diff --git a/devel/py-hacking/Makefile b/devel/py-hacking/Makefile index 7ef6fc6b2904..426fcb09ffea 100644 --- a/devel/py-hacking/Makefile +++ b/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} @@ -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 diff --git a/devel/py-hacking/files/patch-requirements.txt b/devel/py-hacking/files/patch-requirements.txt new file mode 100644 index 000000000000..e1ef2fbe6f2e --- /dev/null +++ b/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 -- cgit v1.2.3