re-add pylint-2.14.4 (from main)

This commit is contained in:
Andreas Billmeier (@STR/VW3) 2022-08-18 16:25:47 +02:00 committed by Andreas Billmeier
parent 1af99573e8
commit 295fd5b99e
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 91 additions and 7 deletions

View File

@ -523,7 +523,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 1855 Ebuilds in total, 1848 of them have in total 1860 (35 different) licenses assigned.
There are 1856 Ebuilds in total, 1849 of them have in total 1861 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -532,7 +532,7 @@ There are 1855 Ebuilds in total, 1848 of them have in total 1860 (35 different)
|GPL-3|111|
|BSD|104|
|LGPL-3|29|
|GPL-2|24|
|GPL-2|25|
|LGPL-3+|18|
|GPL-3+|17|
|BSD-2|14|
@ -563,9 +563,9 @@ There are 1855 Ebuilds in total, 1848 of them have in total 1860 (35 different)
|CC-BY-NC-SA-4.0|1|
|CC0-1.0|1|
(Last counted: 16/08/2022)
(Last counted: 18/08/2022)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 16/08/2022
Last updated: 18/08/2022

View File

@ -1,3 +1,5 @@
DIST pylint-2.14.3.gh.tar.gz 1274008 BLAKE2B 0303cb43a4bb93419c0823dc17eb9f43a53ff1b38b0dfda185d785805839baef60b155220f6cecd43615ef783b005a44139a333df2961f736c76c513c2d6b757 SHA512 a2fd2ab2589e01188b8f587363cafba430626fffd20360cb4353a3d5a9fc5402103e74d2e4671e3d25526ed9625f77a49fc27bb0af931478f4c38ad99cf3c25a
EBUILD pylint-2.14.3.ebuild 2260 BLAKE2B 09777087ce75264713a36908d5182f09c52776b0f6a7ba2a8fd09b6a8aaba5a648a657e10b040aff68d544a1247e6408a8a650771546c7f1969206e4e264a389 SHA512 f5c1bc119cf5a6c6eb7f843ab01dd4d553a46c3ecfd3dec43315e74c375091c4e0cb01045c61138f5750ca0e6ae06860af6e29664862bb31973a2fce7a8dcff4
DIST pylint-2.14.4.gh.tar.gz 1275701 BLAKE2B a91dee4c2feb83fb98d0782cd7bbfa81752cc00c707a7b2fbeacf42c6857819d8d4cfffd4caf897af0fd38237d881cfa3b9f57a7e6eb34bee59e0203e3cdd9f3 SHA512 ee305d880052c4e1ebf939201fb5d5d52b642b5130c3314aa91eaad1a413e33e2665a935df1f7a73a3745660de3d3f0a3bed10b2871d840f73bfd2fee651d2b5
EBUILD pylint-2.14.3.ebuild 2193 BLAKE2B b8aef4e1d9f369a30aaf8ec3cc021261035d070c104ecf4e2fb3c1501e7bc726bd39fb1cbca2464186e382482102d000ca4ef66adf3981a7f5b967cce7e5596c SHA512 e8a87fdc4604b8bf743c6ee6a6882caa36a4169042842721ef0e6daf3bd8b52eb4c7837de15d15f26114bc6e8601ffa26f64466f51f6cc2208d5b554eb730d01
EBUILD pylint-2.14.4.ebuild 2241 BLAKE2B 6643a56904512e4f4c5fb3eb589b3d5c166fed32701413ffe4c4987bebd6323fe2e3bcb827f8e8d11f9686848e7234613ad44d4cc38f366a58a563aae776b4c5 SHA512 ec4a55e9342134db2b712c89c9262eb415703b98a6ff659dba413d83aa777171cbcacd427dabe9f5d8bd2c911ed57c3cec8abb6272a00d4489a9a13cf209a1ef
MISC metadata.xml 1100 BLAKE2B 98ac44b343a44471afed50ea76c658142056bba3e3e0a75e7a3854c6e196eb55eeb466611c4d2976787fe4e5d4c13c1f434cad8afaece76f3ba04cd94197906f SHA512 78b52b43ebc944c60d037adb4874fcbe72a2ac713b713ac3b9a226966db2fabf0b31a11e16dcf26243cc19c62841928ac4bb32f5eef69f9d6ef9cb0222362bbf

View File

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@ -21,7 +21,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="amd64 arm arm64 x86"
IUSE="examples"
# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps

View File

@ -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..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.12[${PYTHON_USEDEP}]
>=dev-python/astroid-2.11.6[${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
}