Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylint/
Date: Sun, 22 Aug 2021 08:01:47
Message-Id: 1629619289.9120aedd587f8b0a728a402d6064ccf8a5bb60ed.mgorny@gentoo
1 commit: 9120aedd587f8b0a728a402d6064ccf8a5bb60ed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 07:01:46 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 08:01:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9120aedd
7
8 dev-python/pylint: Bump to 2.10.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pylint/Manifest | 1 +
13 dev-python/pylint/pylint-2.10.2.ebuild | 58 ++++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest
17 index e3baffb2469..9275f54925c 100644
18 --- a/dev-python/pylint/Manifest
19 +++ b/dev-python/pylint/Manifest
20 @@ -1,3 +1,4 @@
21 DIST pylint-2.10.1.gh.tar.gz 813052 BLAKE2B 487c95851c6aa68ae6fa81a345959fa6b7c1ffe9f7c4c1d722f6ceb4c50671870f16c2a24392cc374cdaffa279028d38a23b9cb94376f58f4ff0e448da49d83b SHA512 c32948ef2eceab8857fcd789690c4766a606b053c1f931da13acdc0265f76fe96622439da12661e8ab899cdeccd93427a4561181670f14dfbb36e4e9c720ea07
22 +DIST pylint-2.10.2.gh.tar.gz 813391 BLAKE2B 109f8817e32ddf8d93c9120518e77a1d2f7e61cd1a6362eb1cf9e6d242db72fa1a9271588a3abb28efca54bcc449dce623ae5d5fd63153ec2bc367e008aab465 SHA512 5d694587956c4f11eb4afaec26cefb66ccbe14dc2aacf378a0362326506d80eb2633e0d351c0a20715a3359a9bc438092d77b2e46f7f787210c7ab0555f2722f
23 DIST pylint-2.9.3.gh.tar.gz 770364 BLAKE2B 3892286ffbd79b417c6decba44bce97f45192299ac8e2ec0e24770b2dd6cf1c28bac790626a478d47a6124ec0470ea9fc0d4230c5a1e807532852844445bb95a SHA512 45c037b970b66254b54a4810a5609dc098b5493d409826333e6a75f9ff0fc02921162711d88c45fd2f437e6521f639c33b25b714830a977c501612ee497501bb
24 DIST pylint-2.9.6.gh.tar.gz 779390 BLAKE2B b1d8794e1e7ccdde87919eb943f83287c0a7b85b67f3722cbbe68887f2c61ab30b354548e25b70c661234647e35f79beb6aaad5f6be6bfde8c2475cf03676922 SHA512 a23ff089853398df2e4232767ca87c21e4ab4fc6805de80db796c78c56e0da1ade9b0586f5c14a98524bf607e0d240c354cf63287eec7dfdce263188eb19ddce
25
26 diff --git a/dev-python/pylint/pylint-2.10.2.ebuild b/dev-python/pylint/pylint-2.10.2.ebuild
27 new file mode 100644
28 index 00000000000..618413d2c62
29 --- /dev/null
30 +++ b/dev-python/pylint/pylint-2.10.2.ebuild
31 @@ -0,0 +1,58 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..9} )
38 +PYTHON_REQ_USE="threads(+)"
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Python code static checker"
43 +HOMEPAGE="https://www.logilab.org/project/pylint
44 + https://pypi.org/project/pylint/
45 + https://github.com/pycqa/pylint/"
46 +SRC_URI="
47 + https://github.com/pycqa/pylint/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
52 +IUSE="examples"
53 +
54 +RDEPEND="
55 + <dev-python/astroid-2.8[${PYTHON_USEDEP}]
56 + >=dev-python/astroid-2.7.2[${PYTHON_USEDEP}]
57 + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
58 + <dev-python/isort-6[${PYTHON_USEDEP}]
59 + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
60 + <dev-python/mccabe-0.7[${PYTHON_USEDEP}]
61 + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
62 + >=dev-python/toml-0.7.1[${PYTHON_USEDEP}]
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch"
67 +)
68 +
69 +distutils_enable_sphinx doc --no-autodoc
70 +distutils_enable_tests pytest
71 +
72 +python_test() {
73 + local EPYTEST_DESELECT=(
74 + # No need to run the benchmarks
75 + tests/benchmark/test_baseline_benchmarks.py
76 + )
77 + # Specify the test directory explicitly to avoid import file mismatches
78 + epytest tests
79 +}
80 +
81 +python_install_all() {
82 + if use examples ; then
83 + docompress -x "/usr/share/doc/${PF}/examples"
84 + docinto examples
85 + dodoc -r examples/.
86 + fi
87 +
88 + distutils-r1_python_install_all
89 +}