commit:     73de0421f0d9bacd6c4fd5c8acb2dde21400ed04
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 17:52:57 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 18:45:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73de0421

dev-python/pylint: Bump to 2.13.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pylint/Manifest             |  1 +
 dev-python/pylint/pylint-2.13.3.ebuild | 82 ++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 56af8334ed1b..0a577317d728 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -2,3 +2,4 @@ DIST pylint-2.12.2.gh.tar.gz 1032702 BLAKE2B 
de7dce04159b332baa5c23f4034ee249e49
 DIST pylint-2.13.0.gh.tar.gz 1114326 BLAKE2B 
2d99ae38474a13ecf0b306b2de445b93ef39c4ed286abdbc62e08580b34ea22615983bded024f87eb4ad5e9cfdd12edbab6e7bf841d4e7827c945e798f31771f
 SHA512 
7ca5fdf6d5835886ae01937fad56319cc9b71248d7a8aa6c6d92ba4bf5d35340ec0a16c1b2029d1ca5170f8c3abd29b1d6915a415d5df3c0949f4f9c0d6a690c
 DIST pylint-2.13.1.gh.tar.gz 1116054 BLAKE2B 
633636f97e284a8a93c598261b90019ea359fd61cf2e833936749a6a650098772c46008f465b118634cfa3cc8d873d9bbdd7d4b0e54621e47b7c33a33938b01d
 SHA512 
9e5f6f2578d240a4984e00fd9e9a33a39bac4855060054f96c4414d8e1c6c16cd6a27d4d5e82fde52f91b2d25595d638e66e928c82aa3eb72a37c61f7aa6e038
 DIST pylint-2.13.2.gh.tar.gz 1116482 BLAKE2B 
da35c9f39781bbd796e2ec055b41c44211588d7da360fd27f81eef57a3f5c65e27931ca927b41692627c9914f5c28e3262c0f34a45c38b20aa1b83710ab1d1f1
 SHA512 
15274658cf3067ffa6635a94f2c75d8854b3843be45ea5dc5896bc12583b156428858baeed19eed4bfab35489326d70d0cce1375354d9ec97d00cfd895fc4a47
+DIST pylint-2.13.3.gh.tar.gz 1116747 BLAKE2B 
9ab6ff4746f78472de9c248754d102e55e8cb60d3ead8c5079cfe851b2b7c8e16afc9b0be02041cf24e789784200b90751ad0bcf172eb6d4edd88463863d18ac
 SHA512 
0bda6d89219ad6f7f64f1361f95b85a34e3bc70f9f18f71eaa3d69deb47ab6fc056000c13a11c8c5644f0a9789eac2a5c262ddcf96302aeebfa16aa2e3b3086c

diff --git a/dev-python/pylint/pylint-2.13.3.ebuild 
b/dev-python/pylint/pylint-2.13.3.ebuild
new file mode 100644
index 000000000000..f3e46e1cdb7e
--- /dev/null
+++ b/dev-python/pylint/pylint-2.13.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python code static checker"
+HOMEPAGE="
+       https://www.logilab.org/project/pylint
+       https://pypi.org/project/pylint/
+       https://github.com/pycqa/pylint/
+"
+SRC_URI="
+       https://github.com/pycqa/pylint/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~riscv ~x86"
+IUSE="examples"
+
+# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 
on bumps
+# Adjust dep bounds!
+RDEPEND="
+       <dev-python/astroid-2.12[${PYTHON_USEDEP}]
+       >=dev-python/astroid-2.11.0[${PYTHON_USEDEP}]
+       >=dev-python/dill-0.2[${PYTHON_USEDEP}]
+       >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
+       <dev-python/isort-6[${PYTHON_USEDEP}]
+       >=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
+       <dev-python/mccabe-0.8[${PYTHON_USEDEP}]
+       >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
+       >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/typing-extensions[${PYTHON_USEDEP}]
+       ' 3.8 3.9)
+"
+BDEPEND="
+       test? (
+               >=dev-python/GitPython-3[${PYTHON_USEDEP}]
+               dev-python/pytest-timeout[${PYTHON_USEDEP}]
+               dev-python/typing-extensions[${PYTHON_USEDEP}]
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
+)
+
+distutils_enable_sphinx doc --no-autodoc
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # No need to run the benchmarks
+               tests/benchmark/test_baseline_benchmarks.py
+
+               # TODO
+               
'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]'
+               
'tests/test_functional.py::test_functional[dataclass_with_field]'
+               
tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg
+               
tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg
+       )
+       # Specify the test directory explicitly to avoid import file mismatches
+       epytest tests
+}
+
+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
+}

Reply via email to