dev-python/pylint: re-add 2.15.7 (from main), drop olds

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-01-03 06:38:36 +01:00 committed by Andreas Billmeier
parent 63fde95ab0
commit 0c5a027fec
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 7 additions and 88 deletions

View File

@ -1,5 +1,3 @@
DIST pylint-2.14.4.gh.tar.gz 1275701 BLAKE2B a91dee4c2feb83fb98d0782cd7bbfa81752cc00c707a7b2fbeacf42c6857819d8d4cfffd4caf897af0fd38237d881cfa3b9f57a7e6eb34bee59e0203e3cdd9f3 SHA512 ee305d880052c4e1ebf939201fb5d5d52b642b5130c3314aa91eaad1a413e33e2665a935df1f7a73a3745660de3d3f0a3bed10b2871d840f73bfd2fee651d2b5
DIST pylint-2.15.0.gh.tar.gz 1304038 BLAKE2B f22799cca283cd9a2721e264aa125e6df2a4eb9d9fe682a54a2a62adf76171b13de43b5de6fa6b58253bcafefb7f88b43615427a01edf9a0cc4a956266833c4c SHA512 bbcdff2569e53e1fafd94a8d484740470e70b075e52a07baa5ab817a62cc0c5ddfee42087bab172cac441c74899a4f2446efba9b2bd8deafc5a0338df2cd87aa
EBUILD pylint-2.14.4.ebuild 2241 BLAKE2B 6643a56904512e4f4c5fb3eb589b3d5c166fed32701413ffe4c4987bebd6323fe2e3bcb827f8e8d11f9686848e7234613ad44d4cc38f366a58a563aae776b4c5 SHA512 ec4a55e9342134db2b712c89c9262eb415703b98a6ff659dba413d83aa777171cbcacd427dabe9f5d8bd2c911ed57c3cec8abb6272a00d4489a9a13cf209a1ef
EBUILD pylint-2.15.0.ebuild 2300 BLAKE2B dff27aca2f0dd150541a4dc9fc21203aef23cbc02546a6912c48ca1d92fbdee5fd03f48a0e748c75c7d8d2fd20f58a5f558e762def70ddaab2d9bd9eeaa13b98 SHA512 7e0828ec8dc4cdec698f6fda0b7ec29f32926120b0c5398a72bb93e35999df3e6c5e267adb0facaf592d169ea76f8bbd6b65525d731d475655983a0f468b1604
DIST pylint-2.15.7.gh.tar.gz 1317019 BLAKE2B 46a163b41b2675efe24e04ca052ac2e9c88d075b551bb83c7d7369dd3b53c54d1f7ded12ff99ea0d2f4651e315e760fabb89149c1cc5c91676a2da2444d07a9d SHA512 6e6b544babc5c56f2e59fea7e907ea88f9d6456cebaf50ebdfe935edcc70f8b6b0d52665df7f7a2fec11578a7d8b7aea32c09aa3729aad38e9375df19ea7709f
EBUILD pylint-2.15.7.ebuild 2405 BLAKE2B 01afc6c5564f7d72a08563275487fe8db8c8031155c176ac2aee23d48cfeab5bde7ab8245aac9b9d4df3fe50b702e9f6c351616cb4d0fa6d451dba467ab9de7d SHA512 87e30829f563fb8e14c8ba7df3ded3c6a926d543e69b05a3bbbc395bafec5901859ab04e01a534927b8ab0f353bb7803e10ef330ee47fe20b725d9384e88c9ef
MISC metadata.xml 1100 BLAKE2B 98ac44b343a44471afed50ea76c658142056bba3e3e0a75e7a3854c6e196eb55eeb466611c4d2976787fe4e5d4c13c1f434cad8afaece76f3ba04cd94197906f SHA512 78b52b43ebc944c60d037adb4874fcbe72a2ac713b713ac3b9a226966db2fabf0b31a11e16dcf26243cc19c62841928ac4bb32f5eef69f9d6ef9cb0222362bbf

View File

@ -1,82 +0,0 @@
# 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://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="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="examples"
# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps
# Adjust dep bounds!
RDEPEND="
<dev-python/astroid-2.14[${PYTHON_USEDEP}]
>=dev-python/astroid-2.12.4[${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/tomlkit-0.10.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/typing-extensions[${PYTHON_USEDEP}]
' 3.8 3.9)
$(python_gen_cond_dep '
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
' 3.8 3.9 3.10)
"
BDEPEND="
test? (
>=dev-python/GitPython-3[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
rm -rf pylint || die
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/test_functional.py::test_functional[no_name_in_module]'
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
tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config
)
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
}

View File

@ -27,8 +27,8 @@ IUSE="examples"
# Make sure to check https://github.com/PyCQA/pylint/blob/main/pyproject.toml#L34 on bumps
# Adjust dep bounds!
RDEPEND="
<dev-python/astroid-2.12[${PYTHON_USEDEP}]
>=dev-python/astroid-2.11.6[${PYTHON_USEDEP}]
<dev-python/astroid-2.14[${PYTHON_USEDEP}]
>=dev-python/astroid-2.12.13[${PYTHON_USEDEP}]
>=dev-python/dill-0.2[${PYTHON_USEDEP}]
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
<dev-python/isort-6[${PYTHON_USEDEP}]
@ -67,6 +67,9 @@ python_test() {
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
tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config
# apparently fragile, needs unpickleable plugin
tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable
)
epytest
}