summaryrefslogtreecommitdiff
path: root/dev-python/pylint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-06 11:57:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-06 11:57:11 +0100
commit2b03b0d9c5ca3890c219ebd24721133e766e9bb9 (patch)
tree5d30f335ce7ca22011789e938f980ff88db62a2c /dev-python/pylint
parentee3e7766db93c66376cf52eaac72b16fa156d223 (diff)
gentoo auto-resync : 06:10:2023 - 11:57:10
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/Manifest2
-rw-r--r--dev-python/pylint/pylint-3.0.1.ebuild83
2 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
index 20b9bbf6c9d5..8c676dc0b99a 100644
--- a/dev-python/pylint/Manifest
+++ b/dev-python/pylint/Manifest
@@ -3,9 +3,11 @@ DIST pylint-2.17.6.gh.tar.gz 1415348 BLAKE2B d760a81cc8a453a081f1b0e3845c5a0b608
DIST pylint-2.17.7.gh.tar.gz 1415651 BLAKE2B 9b2edea7d7d9e05fd265749cb1e50e77513e382518dc16bf654861e66564c55a430193ab1f538cb23e31e85d2130784c648ba185d62139c6df752ca54f0fc09d SHA512 514fe9d244a58e21fade66f0e343f2162a2fc2f99d7197f4d91801250c13fde2ddc365f92a274d89d602689466a12bac3ff9dd364ce15891171ef86d6313aba2
DIST pylint-3.0.0.gh.tar.gz 1418878 BLAKE2B e0e86bc53e3b081b92a1f7af94a53b125e4d57c08c269e30defd51fcf07024deaf02a664d05d506a469999e6f6660a4f3d26a6698f8023f48a9d81467dce0282 SHA512 77f20425d03fd2e13e3c6ee7f75b32f37918aafbaeab7280d4275e4bdd285d9d4df541e6165bbe76a57663ff78dc4d8126a72788ee29b08fea5c479f9b162b09
DIST pylint-3.0.0b0.gh.tar.gz 1421208 BLAKE2B e58859e85b5001236a7f92060bca3e828957c8a24b3f0981cac795f0a0ce1af3d0be3ab8cc45c9e7fee173f988598e23fb3b9bc3c257d2e354c7d1c621ae7301 SHA512 265f29d28879c09320a8aa3d235873d96505a2472fb9b41ac0f11fa453c2e4d3fb57133bc588583ac82bdaad895b1cafe828f5662d3700baf6eaf6c3f22817db
+DIST pylint-3.0.1.gh.tar.gz 1419203 BLAKE2B 6a1c3db074c39a6cd838b39db13650192eb08b95210b95a78e518f9a2cf6c22b92c691f52c6fc08fff5363b12f028897d512f92de7fafabcbdfaeb18ae5535f9 SHA512 c8eca77f70a794e9dc764a70107afdd684a873ab00d6f51d400b96f6e06a39db014a27ef0505f2f7a370e5457e5061c78d2aab4fe1bf59746db4bbe3ae102423
EBUILD pylint-2.17.5.ebuild 2483 BLAKE2B ce4da2fe18989c31a7bcf2af31a117fda0150f0c0e84cccfae2d39a3a8a00e7b079ea7f872f3c03185941fad03e8b3ace4dd4085d36be73818798d9e0dfea418 SHA512 953d0ef340305f1efa399b2da5983d1838a9502074bd1c0368c2d13815e533d657279016b3c737f36892b6cf552c413e565458dbf64cecb4b1e9d4782f7f0594
EBUILD pylint-2.17.6.ebuild 2491 BLAKE2B 18c9de8487ecd5eb15e0031da3393b3da4e054a845afb2eda631d736fd68bc5f6b1bb075db44b7d7717d8a4875e8114ce2f7c9fe5162959b5c8b75977b9c3289 SHA512 a411429f28bb0313b1ff947324a6d3951c65544e4f5995f26e4dca39649c4ad6ed03817c61c44bff810c4ebf011cfa9be1b5b5f6268830ae26738c2c251ee8c9
EBUILD pylint-2.17.7.ebuild 2491 BLAKE2B 78c84afe98dadde45807dbedfa7396f757d73bb2379105cfb77fb6e0ec97ddc31f053f34dbc59955d63244cc2d14f8f9783b7195eeed2d1518fd40d54ed09321 SHA512 00e936e9c3526760f7c86b3408709660920ef2073ffc57dff48ef970f87e28ea496e895510c237083f112e9cdf9cb8f7054b5c1a77c452664f741adfd3917859
EBUILD pylint-3.0.0.ebuild 2123 BLAKE2B 73f77b79e3f24b7cb66d6a52c3723d70e764f9c9364738eabd626517754d8e088db6eca2d2f900569a10336a986de16ac285d391e19406b96146de2a5e4a32d8 SHA512 933325ddcda06fb4b6011309dbfd3fa26375c13145ed5611685f837a87dd0bcb5e5f41623a567ec9496200de66015c56ec0941919bed85e7ed74c6acc566dfa1
EBUILD pylint-3.0.0_beta0.ebuild 2123 BLAKE2B 73f77b79e3f24b7cb66d6a52c3723d70e764f9c9364738eabd626517754d8e088db6eca2d2f900569a10336a986de16ac285d391e19406b96146de2a5e4a32d8 SHA512 933325ddcda06fb4b6011309dbfd3fa26375c13145ed5611685f837a87dd0bcb5e5f41623a567ec9496200de66015c56ec0941919bed85e7ed74c6acc566dfa1
+EBUILD pylint-3.0.1.ebuild 2123 BLAKE2B 73f77b79e3f24b7cb66d6a52c3723d70e764f9c9364738eabd626517754d8e088db6eca2d2f900569a10336a986de16ac285d391e19406b96146de2a5e4a32d8 SHA512 933325ddcda06fb4b6011309dbfd3fa26375c13145ed5611685f837a87dd0bcb5e5f41623a567ec9496200de66015c56ec0941919bed85e7ed74c6acc566dfa1
MISC metadata.xml 1105 BLAKE2B aa9d049b732f9198685901a0ec31f4a615da8398ce1741558e7b2c3840890da0c5ac6a2a23e0fd4cd45fb443b92f69b3fe4fb7f9d7570b1a75a0d0784231f392 SHA512 5f5bb3e31554bdc0cdcdaf1d7df9194e32da649784124714783c5d280c7ab4a9f65317b5d5e6de47698b2f30a019051191cb7ef3066902b606e2582a31f01c05
diff --git a/dev-python/pylint/pylint-3.0.1.ebuild b/dev-python/pylint/pylint-3.0.1.ebuild
new file mode 100644
index 000000000000..5046bb6252b7
--- /dev/null
+++ b/dev-python/pylint/pylint-3.0.1.ebuild
@@ -0,0 +1,83 @@
+# 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_{10..11} )
+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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="examples"
+
+# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps
+# Adjust dep bounds!
+RDEPEND="
+ <dev-python/astroid-3.1[${PYTHON_USEDEP}]
+ >=dev-python/astroid-3.0.0[${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? (
+ >=dev-python/GitPython-3[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+ 'tests/test_functional.py::test_functional[dataclass_with_field]'
+
+ # incompatible versions of numpy/scikit-learn?
+ 'tests/test_functional.py::test_functional[no_name_in_module]'
+ 'tests/test_functional.py::test_functional[shadowed_import]'
+ )
+ local EPYTEST_IGNORE=(
+ # No need to run the benchmarks
+ tests/benchmark/test_baseline_benchmarks.py
+ )
+
+ 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
+}