dev-python/pylint: treeclean
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
e8ac095345
commit
713235e6a2
@ -612,7 +612,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 1636 Ebuilds in total, 1625 of them have in total 1643 (42 different) licenses assigned.
|
||||
There are 1634 Ebuilds in total, 1623 of them have in total 1641 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
@ -621,7 +621,7 @@ There are 1636 Ebuilds in total, 1625 of them have in total 1643 (42 different)
|
||||
|GPL-3|105|
|
||||
|BSD|88|
|
||||
|LGPL-3|23|
|
||||
|GPL-2|22|
|
||||
|GPL-2|20|
|
||||
|all-rights-reserved|15|
|
||||
|BSD-2|11|
|
||||
|GPL-3+|11|
|
||||
|
@ -1,5 +0,0 @@
|
||||
DIST pylint-2.16.0.gh.tar.gz 1379079 BLAKE2B 3dab6230955d36349e42416bdde2a2384ff304f58db15fc4f0ed81d035f4babe8e683e78216e4001ad180b479f76008f4fa36968750bf8570aeb91c6d5808686 SHA512 e941bd8c5b4ef683cced8500ba6c29a1ab6705d467c1bf51e4d955c22a96eded56b832c52f73fed16e6e6a35a6ffa9609489ed5f2aae8cc761e234fa013fdcfc
|
||||
DIST pylint-2.17.0.gh.tar.gz 1406740 BLAKE2B 55176ca794f182886c93eb1461599792df90f948c09a8c4084138a7319f8127d9037d9b4535be90d5ad19227b1ce36ae07f5aaf532298aa92be97832baaba64e SHA512 2796cf670b2aa6cc448e5e26b4899804ebfdea6df3730cab06f2c72fdf57ee07b08e63f0748bce991175c67c22d040ededa19c967a2f74e14d44e54323aff945
|
||||
EBUILD pylint-2.16.0.ebuild 2495 BLAKE2B af4dd8eae40a54149acf2d71bfca8c3958de845aead5ffe86937df4e47dafb3a93416f1734ba3ce6cd088aa226b5deac739d93b43d320e70a645327b4fb9203f SHA512 f7c97a9892796a878e638c4712307bd380806ba50e98b5935784bed24646aed1fdaa1bc9c5bf2995f999a527a47f0420cdbf909eecd60effaad43f5e11d5d515
|
||||
EBUILD pylint-2.17.0.ebuild 2495 BLAKE2B 5fc592d3445f43f5b7e6f936568b55f1997f489a0fb9641a1219a7b837e68f8b9420ea912138b3805ab6720ee4d32bf438ab54319c88ed246f7df0acdbdb5f32 SHA512 66f71447b3f97038ee0046611e7be2d38ae7805850c6dcd08a7a23f625a5ed6f2535b0156894bb795cd7e18e6055e0d90d8258622ae0751ae258feecd7f1a938
|
||||
MISC metadata.xml 1100 BLAKE2B 98ac44b343a44471afed50ea76c658142056bba3e3e0a75e7a3854c6e196eb55eeb466611c4d2976787fe4e5d4c13c1f434cad8afaece76f3ba04cd94197906f SHA512 78b52b43ebc944c60d037adb4874fcbe72a2ac713b713ac3b9a226966db2fabf0b31a11e16dcf26243cc19c62841928ac4bb32f5eef69f9d6ef9cb0222362bbf
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Pylint is a Python source code analyzer which looks for programming errors,
|
||||
helps enforcing a coding standard and sniffs for some code smells (as
|
||||
defined in Martin Fowler's Refactoring book). Pylint can be seen as
|
||||
another PyChecker since nearly all tests you can do with PyChecker can also
|
||||
be done with Pylint. However, Pylint offers some more features, like
|
||||
checking length of lines of code, checking if variable names are
|
||||
well-formed according to your coding standard, or checking if declared
|
||||
interfaces are truly implemented, and much more. Additionally, it is
|
||||
possible to write plugins to add your own checks.
|
||||
</longdescription>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pylint</remote-id>
|
||||
<remote-id type="github">pycqa/pylint</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,87 +0,0 @@
|
||||
# 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
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# 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.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/astroid-2.15.0[${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…
x
Reference in New Issue
Block a user