From fef9587cc57e51bb342ad363aeb48fa71bb5ba08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 3 Oct 2026 07:04:49 +0200 Subject: [PATCH] dev-python/pylint: Bump to 4.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pylint/Manifest | 2 + dev-python/pylint/pylint-4.1.2.ebuild | 84 +++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 dev-python/pylint/pylint-4.1.2.ebuild diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index bbb0e6858709a..9c4cd154d6b6c 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -6,3 +6,5 @@ DIST pylint-4.0.9.tar.gz 1604187 BLAKE2B 3c47fcd713aa6fee21418591c562462eb4d69e4 DIST pylint-4.0.9.tar.gz.provenance 9674 BLAKE2B 5118aa35683375a87f9e58192779750c6afd8e89796dec02a7dcd1e32ca9d7c8490ba45a5cc8ff80aa300aa785705fd748c21e252709b4136888957e19b89c94 SHA512 993fa691547f2fb4f2edd3eefcc0851295b2b2506f24c94d55d3f65d20f24237ca321487d21aabc89896b4f1a481a7a22c50d87b61573f219aa9c680cd3602ed DIST pylint-4.1.1.tar.gz 1737156 BLAKE2B 41625f82bd2091897ccdf6e1efb869b52d7f42e29c7ce415d1e482d9f1e1047228eab4282318612868d23481433279aa7099934c0ac5ae9e8793198e5b0f9de8 SHA512 bd4c52ca9feeb11afa68e8daa0a2302f23c050057c87ff4ce0021bd71a856e6ac7c03637d1a0f6443ed5b0332f3c459cc58b5547ff5bf58fc6731d0c02a80c9f DIST pylint-4.1.1.tar.gz.provenance 9956 BLAKE2B bc0a0bad48d44d73bed0675f24c907fc405b2db3d647dbd8e18fabbb57bb452d81dd75aabb1c77713406864c5b2d5f59f9c39a516dc19481861eab0739e097a7 SHA512 7e17a1a08c0d25f6713a1e75fe33ad35b5a989c4ae60e71c9f6e9158e02ea5cd6985f901db89f89607deda579eb8a04f711f3138b79e1f0f6bbbec36f3bce04d +DIST pylint-4.1.2.tar.gz 1739885 BLAKE2B bc0474c44d6a3fde543bc3895c77e9728d3aac8ae12319c19a0d33a24715b6d8e391ab447392d3bd5a4278c0bc5708c1a384745a45a03d83a1597576c1a22458 SHA512 8f2fb385d0866865fe8ce7e5382586e1e5b4420544ab58773079c2387be4c6e93033f0f749a7972cce91faae9f957e3be397d695cab294f0752e4d1bc71f1c93 +DIST pylint-4.1.2.tar.gz.provenance 9913 BLAKE2B 16a071063ff401d99c740878b8ba3ab59c6780b6d606fb2e95d3218094fc5c96ca121b83bf1bd07629b06a474edeb37963cc9614c3669b4c096a36b8c46a6c2e SHA512 341968d19d1530a928e732a3edb07d90fc23cb649a0c9ea2189795aa2da347bdd59d724ba119c71485e09deb2cd6b8458f63b84fbd03742ab27fe35ef173a758 diff --git a/dev-python/pylint/pylint-4.1.2.ebuild b/dev-python/pylint/pylint-4.1.2.ebuild new file mode 100644 index 0000000000000..4c37f2ff3b8fc --- /dev/null +++ b/dev-python/pylint/pylint-4.1.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pylint-dev/pylint +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + =dev-python/astroid-4.3.3[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-5.14[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6[${PYTHON_USEDEP}] + =dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/gitpython-3[${PYTHON_USEDEP}] + ' 'python*' ) + >=dev-python/pytest-8.3[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + # Internal stuff, missing data in sdist + tests/testutils/_primer/test_primer.py + # needs pytest_remaster + tests/reporters/unittest_junit_reporter.py + ) + + if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + epytest +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +}