diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile index 993d76f33d6e..acbb75d1d48b 100644 --- a/devel/pylint/Makefile +++ b/devel/pylint/Makefile @@ -1,33 +1,34 @@ PORTNAME= pylint PORTVERSION= 4.0.5 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI \ https://github.com/pylint-dev/pylint/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Analyzes python source code looking for bugs and signs of poor quality WWW= https://www.pylint.org/ \ https://pylint.readthedocs.io/en/latest/ \ https://github.com/pylint-dev/pylint LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=62.6:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.37.1:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=4.0.2<4.1_99:devel/py-astroid@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=4.1.1<4.2.0_99:devel/py-astroid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>=0.3.7:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isort>=5<9:devel/py-isort@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mccabe>=0.6<0.8:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.2:devel/py-platformdirs@${PY_FLAVOR} \ ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.10.1:textproc/py-tomlkit@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/devel/pylint/files/patch-pyproject.toml b/devel/pylint/files/patch-pyproject.toml index d2826b97b284..5d0748b1ae8c 100644 --- a/devel/pylint/files/patch-pyproject.toml +++ b/devel/pylint/files/patch-pyproject.toml @@ -1,21 +1,33 @@ ---- pyproject.toml.orig 2025-05-04 17:07:20 UTC +Obtained from: https://github.com/pylint-dev/pylint/commit/40817ce1a1b62a41486d81eff5b2db3bd9c23755 + https://github.com/pylint-dev/pylint/commit/074153dfd44821c22127c73ef10ab7dcdb5971a4 + +--- pyproject.toml.orig 2026-02-20 09:06:52 UTC +++ pyproject.toml @@ -1,15 +1,15 @@ build-backend = "setuptools.build_meta" [build-system] build-backend = "setuptools.build_meta" -requires = [ "setuptools>=77" ] +requires = [ "setuptools>=62.6" ] [project] name = "pylint" description = "python code static checker" readme = "README.rst" keywords = [ "lint", "linter", "python", "static code analysis" ] -license = "GPL-2.0-or-later" -license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] +license = { text="GPL-2.0-or-later" } +# license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] authors = [ { name = "Python Code Quality Authority", email = "code-quality@python.org" }, ] +@@ -40,7 +40,7 @@ dependencies = [ + # Also upgrade requirements_test_min.txt. + # Pinned to dev of second minor update to allow editable installs and fix primer issues, + # see https://github.com/pylint-dev/astroid/issues/1341 +- "astroid>=4.0.2,<=4.1.dev0", ++ "astroid>=4.1.1,<=4.2.0b1", + "colorama>=0.4.5; sys_platform=='win32'", + "dill>=0.2; python_version<'3.11'", + "dill>=0.3.6; python_version>='3.11'",