1 |
commit: 2726af1003d89522a892e0926ef1d88b7acb32ca |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 20:20:40 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 20:28:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2726af10 |
7 |
|
8 |
dev-python/pylint: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pylint/Manifest | 5 --- |
13 |
dev-python/pylint/pylint-2.13.0.ebuild | 82 ---------------------------------- |
14 |
dev-python/pylint/pylint-2.13.1.ebuild | 82 ---------------------------------- |
15 |
dev-python/pylint/pylint-2.13.2.ebuild | 82 ---------------------------------- |
16 |
dev-python/pylint/pylint-2.13.3.ebuild | 82 ---------------------------------- |
17 |
dev-python/pylint/pylint-2.13.4.ebuild | 81 --------------------------------- |
18 |
6 files changed, 414 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest |
21 |
index 8a07ce5ee5c9..ea1cfcdcf74e 100644 |
22 |
--- a/dev-python/pylint/Manifest |
23 |
+++ b/dev-python/pylint/Manifest |
24 |
@@ -1,8 +1,3 @@ |
25 |
DIST pylint-2.12.2.gh.tar.gz 1032702 BLAKE2B de7dce04159b332baa5c23f4034ee249e49f9239c5c9190213a51a84a47ac2129f8a2265e1ad9c01ab448ec58f4f36653c6de5b0be6bfdf6aa286c8887313759 SHA512 0d2b9b785371af0a1c809271153abbab58f50455b34f12370461ded2c4f3d62656e4c0391adff48e179b95da945a2f44e762863e2b7d63808976bf5f684e20d2 |
26 |
-DIST pylint-2.13.0.gh.tar.gz 1114326 BLAKE2B 2d99ae38474a13ecf0b306b2de445b93ef39c4ed286abdbc62e08580b34ea22615983bded024f87eb4ad5e9cfdd12edbab6e7bf841d4e7827c945e798f31771f SHA512 7ca5fdf6d5835886ae01937fad56319cc9b71248d7a8aa6c6d92ba4bf5d35340ec0a16c1b2029d1ca5170f8c3abd29b1d6915a415d5df3c0949f4f9c0d6a690c |
27 |
-DIST pylint-2.13.1.gh.tar.gz 1116054 BLAKE2B 633636f97e284a8a93c598261b90019ea359fd61cf2e833936749a6a650098772c46008f465b118634cfa3cc8d873d9bbdd7d4b0e54621e47b7c33a33938b01d SHA512 9e5f6f2578d240a4984e00fd9e9a33a39bac4855060054f96c4414d8e1c6c16cd6a27d4d5e82fde52f91b2d25595d638e66e928c82aa3eb72a37c61f7aa6e038 |
28 |
-DIST pylint-2.13.2.gh.tar.gz 1116482 BLAKE2B da35c9f39781bbd796e2ec055b41c44211588d7da360fd27f81eef57a3f5c65e27931ca927b41692627c9914f5c28e3262c0f34a45c38b20aa1b83710ab1d1f1 SHA512 15274658cf3067ffa6635a94f2c75d8854b3843be45ea5dc5896bc12583b156428858baeed19eed4bfab35489326d70d0cce1375354d9ec97d00cfd895fc4a47 |
29 |
-DIST pylint-2.13.3.gh.tar.gz 1116747 BLAKE2B 9ab6ff4746f78472de9c248754d102e55e8cb60d3ead8c5079cfe851b2b7c8e16afc9b0be02041cf24e789784200b90751ad0bcf172eb6d4edd88463863d18ac SHA512 0bda6d89219ad6f7f64f1361f95b85a34e3bc70f9f18f71eaa3d69deb47ab6fc056000c13a11c8c5644f0a9789eac2a5c262ddcf96302aeebfa16aa2e3b3086c |
30 |
-DIST pylint-2.13.4.gh.tar.gz 1117488 BLAKE2B a660c15c41b529d932a21d438c7cf0f3b97683d6b1452f4383193f97dd22ba6e216a7dc8c3677cb1cb0ab5b76ddb936afa2d87df38d41950e2249bd8867bf44d SHA512 2c0c60908f89bf7a2552f65e0b4957ee6223f5429a6c2ec997aaf75572b11e4247e159da744937dbc7752ebd5eab0a0c873d129983de09ea0954f35f47a1f524 |
31 |
DIST pylint-2.13.5.gh.tar.gz 1118551 BLAKE2B 70ee4254aa140aba16adfe67aeb896d9c455843dfa945d335b5ba48e85c9d2d8f057223bc74bd4c0c0bfa2d343a9f78e783705b885caaee6895fcddf7ce23ccb SHA512 e399239fbea58260b17f226dddb63f1e6a2f12cdd601a4e73913a169d23fe2b6085e776bf8144e2c5a555dfdc1b28a5818a4103969d504b638b6b41ee296d182 |
32 |
DIST pylint-2.13.7.gh.tar.gz 1120083 BLAKE2B c45d6ec65c11d3682bf3279969f3e45b827b2bbcebbfeb05a31df3a93bb943bf9643a5d467c1e2eebf717577032571a48db1ce84e1c81d72000808ec302aaf1b SHA512 ec0b2ef565239ab3e577c5c2d22c1c8df8b8bb0858c34b6606f649484d69a25c1f51ca61a3da66833d9a713e8a686dc32b940e574650577bdcc4e13d76acc2e5 |
33 |
|
34 |
diff --git a/dev-python/pylint/pylint-2.13.0.ebuild b/dev-python/pylint/pylint-2.13.0.ebuild |
35 |
deleted file mode 100644 |
36 |
index 00f7749a1f55..000000000000 |
37 |
--- a/dev-python/pylint/pylint-2.13.0.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,82 +0,0 @@ |
40 |
-# Copyright 1999-2022 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=8 |
44 |
- |
45 |
-DISTUTILS_USE_PEP517=setuptools |
46 |
-PYTHON_COMPAT=( python3_{8..10} ) |
47 |
-PYTHON_REQ_USE="threads(+)" |
48 |
- |
49 |
-inherit distutils-r1 |
50 |
- |
51 |
-DESCRIPTION="Python code static checker" |
52 |
-HOMEPAGE=" |
53 |
- https://www.logilab.org/project/pylint |
54 |
- https://pypi.org/project/pylint/ |
55 |
- https://github.com/pycqa/pylint/ |
56 |
-" |
57 |
-SRC_URI=" |
58 |
- https://github.com/pycqa/pylint/archive/v${PV}.tar.gz |
59 |
- -> ${P}.gh.tar.gz |
60 |
-" |
61 |
- |
62 |
-LICENSE="GPL-2" |
63 |
-SLOT="0" |
64 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86" |
65 |
-IUSE="examples" |
66 |
- |
67 |
-# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps |
68 |
-# Adjust dep bounds! |
69 |
-RDEPEND=" |
70 |
- <dev-python/astroid-2.12[${PYTHON_USEDEP}] |
71 |
- >=dev-python/astroid-2.11.0[${PYTHON_USEDEP}] |
72 |
- >=dev-python/dill-0.2[${PYTHON_USEDEP}] |
73 |
- >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] |
74 |
- <dev-python/isort-6[${PYTHON_USEDEP}] |
75 |
- >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] |
76 |
- <dev-python/mccabe-0.8[${PYTHON_USEDEP}] |
77 |
- >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] |
78 |
- >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
79 |
- $(python_gen_cond_dep ' |
80 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
81 |
- ' 3.8 3.9) |
82 |
-" |
83 |
-BDEPEND=" |
84 |
- test? ( |
85 |
- >=dev-python/GitPython-3[${PYTHON_USEDEP}] |
86 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
87 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
88 |
- ) |
89 |
-" |
90 |
- |
91 |
-PATCHES=( |
92 |
- "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" |
93 |
-) |
94 |
- |
95 |
-distutils_enable_sphinx doc --no-autodoc |
96 |
-distutils_enable_tests pytest |
97 |
- |
98 |
-python_test() { |
99 |
- local EPYTEST_DESELECT=( |
100 |
- # No need to run the benchmarks |
101 |
- tests/benchmark/test_baseline_benchmarks.py |
102 |
- |
103 |
- # TODO |
104 |
- 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' |
105 |
- 'tests/test_functional.py::test_functional[dataclass_with_field]' |
106 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg |
107 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg |
108 |
- ) |
109 |
- # Specify the test directory explicitly to avoid import file mismatches |
110 |
- epytest tests |
111 |
-} |
112 |
- |
113 |
-python_install_all() { |
114 |
- if use examples ; then |
115 |
- docompress -x "/usr/share/doc/${PF}/examples" |
116 |
- docinto examples |
117 |
- dodoc -r examples/. |
118 |
- fi |
119 |
- |
120 |
- distutils-r1_python_install_all |
121 |
-} |
122 |
|
123 |
diff --git a/dev-python/pylint/pylint-2.13.1.ebuild b/dev-python/pylint/pylint-2.13.1.ebuild |
124 |
deleted file mode 100644 |
125 |
index f3e46e1cdb7e..000000000000 |
126 |
--- a/dev-python/pylint/pylint-2.13.1.ebuild |
127 |
+++ /dev/null |
128 |
@@ -1,82 +0,0 @@ |
129 |
-# Copyright 1999-2022 Gentoo Authors |
130 |
-# Distributed under the terms of the GNU General Public License v2 |
131 |
- |
132 |
-EAPI=8 |
133 |
- |
134 |
-DISTUTILS_USE_PEP517=setuptools |
135 |
-PYTHON_COMPAT=( python3_{8..10} ) |
136 |
-PYTHON_REQ_USE="threads(+)" |
137 |
- |
138 |
-inherit distutils-r1 |
139 |
- |
140 |
-DESCRIPTION="Python code static checker" |
141 |
-HOMEPAGE=" |
142 |
- https://www.logilab.org/project/pylint |
143 |
- https://pypi.org/project/pylint/ |
144 |
- https://github.com/pycqa/pylint/ |
145 |
-" |
146 |
-SRC_URI=" |
147 |
- https://github.com/pycqa/pylint/archive/v${PV}.tar.gz |
148 |
- -> ${P}.gh.tar.gz |
149 |
-" |
150 |
- |
151 |
-LICENSE="GPL-2" |
152 |
-SLOT="0" |
153 |
-KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~riscv ~x86" |
154 |
-IUSE="examples" |
155 |
- |
156 |
-# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps |
157 |
-# Adjust dep bounds! |
158 |
-RDEPEND=" |
159 |
- <dev-python/astroid-2.12[${PYTHON_USEDEP}] |
160 |
- >=dev-python/astroid-2.11.0[${PYTHON_USEDEP}] |
161 |
- >=dev-python/dill-0.2[${PYTHON_USEDEP}] |
162 |
- >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] |
163 |
- <dev-python/isort-6[${PYTHON_USEDEP}] |
164 |
- >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] |
165 |
- <dev-python/mccabe-0.8[${PYTHON_USEDEP}] |
166 |
- >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] |
167 |
- >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
168 |
- $(python_gen_cond_dep ' |
169 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
170 |
- ' 3.8 3.9) |
171 |
-" |
172 |
-BDEPEND=" |
173 |
- test? ( |
174 |
- >=dev-python/GitPython-3[${PYTHON_USEDEP}] |
175 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
176 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
177 |
- ) |
178 |
-" |
179 |
- |
180 |
-PATCHES=( |
181 |
- "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" |
182 |
-) |
183 |
- |
184 |
-distutils_enable_sphinx doc --no-autodoc |
185 |
-distutils_enable_tests pytest |
186 |
- |
187 |
-python_test() { |
188 |
- local EPYTEST_DESELECT=( |
189 |
- # No need to run the benchmarks |
190 |
- tests/benchmark/test_baseline_benchmarks.py |
191 |
- |
192 |
- # TODO |
193 |
- 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' |
194 |
- 'tests/test_functional.py::test_functional[dataclass_with_field]' |
195 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg |
196 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg |
197 |
- ) |
198 |
- # Specify the test directory explicitly to avoid import file mismatches |
199 |
- epytest tests |
200 |
-} |
201 |
- |
202 |
-python_install_all() { |
203 |
- if use examples ; then |
204 |
- docompress -x "/usr/share/doc/${PF}/examples" |
205 |
- docinto examples |
206 |
- dodoc -r examples/. |
207 |
- fi |
208 |
- |
209 |
- distutils-r1_python_install_all |
210 |
-} |
211 |
|
212 |
diff --git a/dev-python/pylint/pylint-2.13.2.ebuild b/dev-python/pylint/pylint-2.13.2.ebuild |
213 |
deleted file mode 100644 |
214 |
index f3e46e1cdb7e..000000000000 |
215 |
--- a/dev-python/pylint/pylint-2.13.2.ebuild |
216 |
+++ /dev/null |
217 |
@@ -1,82 +0,0 @@ |
218 |
-# Copyright 1999-2022 Gentoo Authors |
219 |
-# Distributed under the terms of the GNU General Public License v2 |
220 |
- |
221 |
-EAPI=8 |
222 |
- |
223 |
-DISTUTILS_USE_PEP517=setuptools |
224 |
-PYTHON_COMPAT=( python3_{8..10} ) |
225 |
-PYTHON_REQ_USE="threads(+)" |
226 |
- |
227 |
-inherit distutils-r1 |
228 |
- |
229 |
-DESCRIPTION="Python code static checker" |
230 |
-HOMEPAGE=" |
231 |
- https://www.logilab.org/project/pylint |
232 |
- https://pypi.org/project/pylint/ |
233 |
- https://github.com/pycqa/pylint/ |
234 |
-" |
235 |
-SRC_URI=" |
236 |
- https://github.com/pycqa/pylint/archive/v${PV}.tar.gz |
237 |
- -> ${P}.gh.tar.gz |
238 |
-" |
239 |
- |
240 |
-LICENSE="GPL-2" |
241 |
-SLOT="0" |
242 |
-KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~riscv ~x86" |
243 |
-IUSE="examples" |
244 |
- |
245 |
-# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps |
246 |
-# Adjust dep bounds! |
247 |
-RDEPEND=" |
248 |
- <dev-python/astroid-2.12[${PYTHON_USEDEP}] |
249 |
- >=dev-python/astroid-2.11.0[${PYTHON_USEDEP}] |
250 |
- >=dev-python/dill-0.2[${PYTHON_USEDEP}] |
251 |
- >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] |
252 |
- <dev-python/isort-6[${PYTHON_USEDEP}] |
253 |
- >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] |
254 |
- <dev-python/mccabe-0.8[${PYTHON_USEDEP}] |
255 |
- >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] |
256 |
- >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
257 |
- $(python_gen_cond_dep ' |
258 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
259 |
- ' 3.8 3.9) |
260 |
-" |
261 |
-BDEPEND=" |
262 |
- test? ( |
263 |
- >=dev-python/GitPython-3[${PYTHON_USEDEP}] |
264 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
265 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
266 |
- ) |
267 |
-" |
268 |
- |
269 |
-PATCHES=( |
270 |
- "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" |
271 |
-) |
272 |
- |
273 |
-distutils_enable_sphinx doc --no-autodoc |
274 |
-distutils_enable_tests pytest |
275 |
- |
276 |
-python_test() { |
277 |
- local EPYTEST_DESELECT=( |
278 |
- # No need to run the benchmarks |
279 |
- tests/benchmark/test_baseline_benchmarks.py |
280 |
- |
281 |
- # TODO |
282 |
- 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' |
283 |
- 'tests/test_functional.py::test_functional[dataclass_with_field]' |
284 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg |
285 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg |
286 |
- ) |
287 |
- # Specify the test directory explicitly to avoid import file mismatches |
288 |
- epytest tests |
289 |
-} |
290 |
- |
291 |
-python_install_all() { |
292 |
- if use examples ; then |
293 |
- docompress -x "/usr/share/doc/${PF}/examples" |
294 |
- docinto examples |
295 |
- dodoc -r examples/. |
296 |
- fi |
297 |
- |
298 |
- distutils-r1_python_install_all |
299 |
-} |
300 |
|
301 |
diff --git a/dev-python/pylint/pylint-2.13.3.ebuild b/dev-python/pylint/pylint-2.13.3.ebuild |
302 |
deleted file mode 100644 |
303 |
index f3e46e1cdb7e..000000000000 |
304 |
--- a/dev-python/pylint/pylint-2.13.3.ebuild |
305 |
+++ /dev/null |
306 |
@@ -1,82 +0,0 @@ |
307 |
-# Copyright 1999-2022 Gentoo Authors |
308 |
-# Distributed under the terms of the GNU General Public License v2 |
309 |
- |
310 |
-EAPI=8 |
311 |
- |
312 |
-DISTUTILS_USE_PEP517=setuptools |
313 |
-PYTHON_COMPAT=( python3_{8..10} ) |
314 |
-PYTHON_REQ_USE="threads(+)" |
315 |
- |
316 |
-inherit distutils-r1 |
317 |
- |
318 |
-DESCRIPTION="Python code static checker" |
319 |
-HOMEPAGE=" |
320 |
- https://www.logilab.org/project/pylint |
321 |
- https://pypi.org/project/pylint/ |
322 |
- https://github.com/pycqa/pylint/ |
323 |
-" |
324 |
-SRC_URI=" |
325 |
- https://github.com/pycqa/pylint/archive/v${PV}.tar.gz |
326 |
- -> ${P}.gh.tar.gz |
327 |
-" |
328 |
- |
329 |
-LICENSE="GPL-2" |
330 |
-SLOT="0" |
331 |
-KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~riscv ~x86" |
332 |
-IUSE="examples" |
333 |
- |
334 |
-# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps |
335 |
-# Adjust dep bounds! |
336 |
-RDEPEND=" |
337 |
- <dev-python/astroid-2.12[${PYTHON_USEDEP}] |
338 |
- >=dev-python/astroid-2.11.0[${PYTHON_USEDEP}] |
339 |
- >=dev-python/dill-0.2[${PYTHON_USEDEP}] |
340 |
- >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] |
341 |
- <dev-python/isort-6[${PYTHON_USEDEP}] |
342 |
- >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] |
343 |
- <dev-python/mccabe-0.8[${PYTHON_USEDEP}] |
344 |
- >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] |
345 |
- >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
346 |
- $(python_gen_cond_dep ' |
347 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
348 |
- ' 3.8 3.9) |
349 |
-" |
350 |
-BDEPEND=" |
351 |
- test? ( |
352 |
- >=dev-python/GitPython-3[${PYTHON_USEDEP}] |
353 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
354 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
355 |
- ) |
356 |
-" |
357 |
- |
358 |
-PATCHES=( |
359 |
- "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" |
360 |
-) |
361 |
- |
362 |
-distutils_enable_sphinx doc --no-autodoc |
363 |
-distutils_enable_tests pytest |
364 |
- |
365 |
-python_test() { |
366 |
- local EPYTEST_DESELECT=( |
367 |
- # No need to run the benchmarks |
368 |
- tests/benchmark/test_baseline_benchmarks.py |
369 |
- |
370 |
- # TODO |
371 |
- 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' |
372 |
- 'tests/test_functional.py::test_functional[dataclass_with_field]' |
373 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg |
374 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg |
375 |
- ) |
376 |
- # Specify the test directory explicitly to avoid import file mismatches |
377 |
- epytest tests |
378 |
-} |
379 |
- |
380 |
-python_install_all() { |
381 |
- if use examples ; then |
382 |
- docompress -x "/usr/share/doc/${PF}/examples" |
383 |
- docinto examples |
384 |
- dodoc -r examples/. |
385 |
- fi |
386 |
- |
387 |
- distutils-r1_python_install_all |
388 |
-} |
389 |
|
390 |
diff --git a/dev-python/pylint/pylint-2.13.4.ebuild b/dev-python/pylint/pylint-2.13.4.ebuild |
391 |
deleted file mode 100644 |
392 |
index 168eae7e434b..000000000000 |
393 |
--- a/dev-python/pylint/pylint-2.13.4.ebuild |
394 |
+++ /dev/null |
395 |
@@ -1,81 +0,0 @@ |
396 |
-# Copyright 1999-2022 Gentoo Authors |
397 |
-# Distributed under the terms of the GNU General Public License v2 |
398 |
- |
399 |
-EAPI=8 |
400 |
- |
401 |
-DISTUTILS_USE_PEP517=setuptools |
402 |
-PYTHON_COMPAT=( python3_{8..10} ) |
403 |
-PYTHON_REQ_USE="threads(+)" |
404 |
- |
405 |
-inherit distutils-r1 |
406 |
- |
407 |
-DESCRIPTION="Python code static checker" |
408 |
-HOMEPAGE=" |
409 |
- https://pypi.org/project/pylint/ |
410 |
- https://github.com/PyCQA/pylint/ |
411 |
-" |
412 |
-SRC_URI=" |
413 |
- https://github.com/pycqa/pylint/archive/v${PV}.tar.gz |
414 |
- -> ${P}.gh.tar.gz |
415 |
-" |
416 |
- |
417 |
-LICENSE="GPL-2" |
418 |
-SLOT="0" |
419 |
-KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~riscv ~x86" |
420 |
-IUSE="examples" |
421 |
- |
422 |
-# Make sure to check https://github.com/PyCQA/pylint/blob/main/setup.cfg#L43 on bumps |
423 |
-# Adjust dep bounds! |
424 |
-RDEPEND=" |
425 |
- <dev-python/astroid-2.12[${PYTHON_USEDEP}] |
426 |
- >=dev-python/astroid-2.11.0[${PYTHON_USEDEP}] |
427 |
- >=dev-python/dill-0.2[${PYTHON_USEDEP}] |
428 |
- >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] |
429 |
- <dev-python/isort-6[${PYTHON_USEDEP}] |
430 |
- >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] |
431 |
- <dev-python/mccabe-0.8[${PYTHON_USEDEP}] |
432 |
- >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] |
433 |
- >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] |
434 |
- $(python_gen_cond_dep ' |
435 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
436 |
- ' 3.8 3.9) |
437 |
-" |
438 |
-BDEPEND=" |
439 |
- test? ( |
440 |
- >=dev-python/GitPython-3[${PYTHON_USEDEP}] |
441 |
- dev-python/pytest-timeout[${PYTHON_USEDEP}] |
442 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
443 |
- ) |
444 |
-" |
445 |
- |
446 |
-PATCHES=( |
447 |
- "${FILESDIR}/${PN}-2.4.4-sphinx-theme.patch" |
448 |
-) |
449 |
- |
450 |
-distutils_enable_sphinx doc --no-autodoc |
451 |
-distutils_enable_tests pytest |
452 |
- |
453 |
-python_test() { |
454 |
- local EPYTEST_DESELECT=( |
455 |
- # No need to run the benchmarks |
456 |
- tests/benchmark/test_baseline_benchmarks.py |
457 |
- |
458 |
- # TODO |
459 |
- 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' |
460 |
- 'tests/test_functional.py::test_functional[dataclass_with_field]' |
461 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg |
462 |
- tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg |
463 |
- ) |
464 |
- # Specify the test directory explicitly to avoid import file mismatches |
465 |
- epytest tests |
466 |
-} |
467 |
- |
468 |
-python_install_all() { |
469 |
- if use examples ; then |
470 |
- docompress -x "/usr/share/doc/${PF}/examples" |
471 |
- docinto examples |
472 |
- dodoc -r examples/. |
473 |
- fi |
474 |
- |
475 |
- distutils-r1_python_install_all |
476 |
-} |