dev-python/pylint: add 2.16.0
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
6cee4c0cfc
commit
00da3c8d31
|
@ -573,7 +573,7 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
|||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1809 Ebuilds in total, 1798 of them have in total 1803 (34 different) licenses assigned.
|
||||
There are 1810 Ebuilds in total, 1799 of them have in total 1804 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|
@ -582,7 +582,7 @@ There are 1809 Ebuilds in total, 1798 of them have in total 1803 (34 different)
|
|||
|GPL-3|112|
|
||||
|BSD|94|
|
||||
|LGPL-3|26|
|
||||
|GPL-2|20|
|
||||
|GPL-2|21|
|
||||
|GPL-3+|14|
|
||||
|all-rights-reserved|13|
|
||||
|LGPL-3+|12|
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
DIST pylint-2.15.7.gh.tar.gz 1317019 BLAKE2B 46a163b41b2675efe24e04ca052ac2e9c88d075b551bb83c7d7369dd3b53c54d1f7ded12ff99ea0d2f4651e315e760fabb89149c1cc5c91676a2da2444d07a9d SHA512 6e6b544babc5c56f2e59fea7e907ea88f9d6456cebaf50ebdfe935edcc70f8b6b0d52665df7f7a2fec11578a7d8b7aea32c09aa3729aad38e9375df19ea7709f
|
||||
DIST pylint-2.16.0.gh.tar.gz 1379079 BLAKE2B 3dab6230955d36349e42416bdde2a2384ff304f58db15fc4f0ed81d035f4babe8e683e78216e4001ad180b479f76008f4fa36968750bf8570aeb91c6d5808686 SHA512 e941bd8c5b4ef683cced8500ba6c29a1ab6705d467c1bf51e4d955c22a96eded56b832c52f73fed16e6e6a35a6ffa9609489ed5f2aae8cc761e234fa013fdcfc
|
||||
EBUILD pylint-2.15.7.ebuild 2405 BLAKE2B 1bd2e3d9540cfb65708e3cb82b14d5d70ee87d1d72b803bdbe953da1047e27e373a749bc518349026bfb45046da9ccd7c4b5979a1505b8d022e67cd465f36999 SHA512 879a877f3e201f68ae59b4e861a7d35e27a04cf0d0cd83f07ca6d41f9696dedfedef2ba28e56a48f132d07831d89c47415c914daa2466f81d317c0190873b959
|
||||
EBUILD pylint-2.16.0.ebuild 2495 BLAKE2B af4dd8eae40a54149acf2d71bfca8c3958de845aead5ffe86937df4e47dafb3a93416f1734ba3ce6cd088aa226b5deac739d93b43d320e70a645327b4fb9203f SHA512 f7c97a9892796a878e638c4712307bd380806ba50e98b5935784bed24646aed1fdaa1bc9c5bf2995f999a527a47f0420cdbf909eecd60effaad43f5e11d5d515
|
||||
MISC metadata.xml 1100 BLAKE2B 98ac44b343a44471afed50ea76c658142056bba3e3e0a75e7a3854c6e196eb55eeb466611c4d2976787fe4e5d4c13c1f434cad8afaece76f3ba04cd94197906f SHA512 78b52b43ebc944c60d037adb4874fcbe72a2ac713b713ac3b9a226966db2fabf0b31a11e16dcf26243cc19c62841928ac4bb32f5eef69f9d6ef9cb0222362bbf
|
||||
|
|
|
@ -0,0 +1,87 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
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="amd64 arm arm64 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.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/astroid-2.14.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/dill-0.3.6[${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=(
|
||||
# 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/test_functional.py::test_functional[shadowed_import]'
|
||||
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
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# No need to run the benchmarks
|
||||
tests/benchmark/test_baseline_benchmarks.py
|
||||
)
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue