dev-python/pylint: add 3.3.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-19 11:03:56 +01:00
parent 372460e6db
commit e85e448020
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 96 additions and 2 deletions

View File

@ -606,7 +606,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 2344 Ebuilds in total, 2330 of them have in total 2370 (43 different) licenses assigned.
There are 2345 Ebuilds in total, 2331 of them have in total 2371 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -614,7 +614,7 @@ There are 2344 Ebuilds in total, 2330 of them have in total 2370 (43 different)
|Apache-2.0|553|
|GPL-3|145|
|BSD|123|
|GPL-2|26|
|GPL-2|27|
|LGPL-3|23|
|BSD-2|19|
|GPL-3+|18|

View File

@ -1,3 +1,5 @@
DIST pylint-3.2.2.gh.tar.gz 1443983 BLAKE2B aeff52756e03278da1db7478d0c95ca0d5fa0c8a15203ada4b30fe5fb2fa56bfc2fc60e020bee9b2e242339214cf383838c93cbf1369a82655bedd62e3b2634f SHA512 84d625b0cd1ea0c308ff4381a9f553663af52fec534856a258ee50f00ec7238cf9af98d1e2c851522a8bd440c55e318d5c89035652d872cbd812d19ff14a0698
DIST pylint-3.3.1.gh.tar.gz 1453572 BLAKE2B e756d72c0757a8d90491fddaa5a60cccedde043b4dbaf9162ccabd920bbb864bf109f619483474748a606dedb4bf889a57edb447ef77a40c7ee35e2019caf277 SHA512 86cb0019f53477346de44a7cf22b6ee6ec791d2cfc23ec0c1ffcc749752d52f255aa5dcfaaf7b124706ce8a87013d5e592c0896c527e10b8df06c974f440d3c6
EBUILD pylint-3.2.2.ebuild 2400 BLAKE2B be94dc547e3d71c54d1fcc110d9ab1faed0713faa943d3859f69dcd6e66f8cbb440dc44fd5a5f38554ddc80c7cc20ad149074536438a581a2697f45fe140c3a4 SHA512 951d20368a2e63ff41da8dda5d8339d2e24ed8cceec12dd11b6034ac2d270789fcebe845348d39b6d4f5a7d28f3defa7f6a83af5e95b2904f38e6ea52e6c0c3f
EBUILD pylint-3.3.1.ebuild 2342 BLAKE2B bffc9797c4179799244b9bf5de9f8ff46caa942806fb9eb6bfd85bab5f8b925892225e8893f85506fb2defadf93f1bf305163e1324a938453a814707ae753339 SHA512 9845384a7e00714a2c154618322e8f1b332796a82614b74a6b9bf0f8f39912f71588cba4fc3586f844002c8958a59d400ac08bd7df913b10b715bd2f8cf34c4a
MISC metadata.xml 530 BLAKE2B e869d0801d5c6090e36311c3180fd9e1d72feebd397baa4a11ee7f3eae247b318a8c17fe3f9c8707ad7954fc972c0841032effb1a6d70bd5e4c2178d2adb816d SHA512 ded66e22c33ba81983a49a6ea151eb36bd84a9d1edfb5383382838befdc2dff80dbc6b9144d9982e5905a80db34fd24671cd10e17813cab290a76f844442daaa

View File

@ -0,0 +1,92 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
MY_P=${P/_beta/b}
DESCRIPTION="Python code static checker"
HOMEPAGE="
https://pypi.org/project/pylint/
https://github.com/pylint-dev/pylint/
"
SRC_URI="
https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="examples"
RDEPEND="
<dev-python/astroid-3.4[${PYTHON_USEDEP}]
>=dev-python/astroid-3.3.4[${PYTHON_USEDEP}]
>=dev-python/dill-0.3.7[${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/tomli-1.1.0[${PYTHON_USEDEP}]
' 3.10)
"
BDEPEND="
test? (
$(python_gen_cond_dep '
>=dev-python/GitPython-3[${PYTHON_USEDEP}]
' 'python*' )
>=dev-python/pytest-8.3[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]
)
"
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]'
'tests/test_functional.py::test_functional[wrong_import_order]'
)
local EPYTEST_IGNORE=(
# No need to run the benchmarks
tests/benchmark/test_baseline_benchmarks.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
rm -rf pylint || die
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p timeout
}
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
}