git: 928caec8ce2f - main - devel/pylint: Allow build with py-astroid 2.12.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 18:29:44 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=928caec8ce2f988de9d35ad09f201cae98d0a484

commit 928caec8ce2f988de9d35ad09f201cae98d0a484
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-13 18:29:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-13 18:29:15 +0000

    devel/pylint: Allow build with py-astroid 2.12.0+
    
    - Bump PORTREVISION for package change
---
 devel/pylint/Makefile              |  3 ++-
 devel/pylint/files/patch-setup.cfg | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile
index 50c8588b1b58..d519475166e3 100644
--- a/devel/pylint/Makefile
+++ b/devel/pylint/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	pylint
 PORTVERSION=	2.14.4
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
@@ -13,7 +14,7 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=2.11.6<2.12.0:devel/py-astroid@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=2.11.6:devel/py-astroid@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dill>=0.2:devel/py-dill@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}isort>=4.2.5<6:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mccabe>=0.6<0.8:devel/py-mccabe@${PY_FLAVOR} \
diff --git a/devel/pylint/files/patch-setup.cfg b/devel/pylint/files/patch-setup.cfg
new file mode 100644
index 000000000000..c8fd7768df64
--- /dev/null
+++ b/devel/pylint/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2022-06-29 13:48:27 UTC
++++ setup.cfg
+@@ -44,7 +44,7 @@ packages = find:
+ install_requires = 
+ 	dill>=0.2
+ 	platformdirs>=2.2.0
+-	astroid>=2.11.6,<=2.12.0-dev0
++	astroid>=2.11.6
+ 	isort>=4.2.5,<6
+ 	mccabe>=0.6,<0.8
+ 	tomli>=1.1.0;python_version<"3.11"