1 |
commit: b4f8a23b72127859b6c5f115222feafae45e929f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 8 04:58:50 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 8 05:00:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f8a23b |
7 |
|
8 |
dev-python/python-lsp-server: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-lsp-server/Manifest | 2 - |
13 |
.../python-lsp-server-1.4.1-allow-mccabe-0.7.patch | 22 ----- |
14 |
.../python-lsp-server-1.5.0-allow-mccabe-0.7.patch | 22 ----- |
15 |
...ython-lsp-server-1.5.0-unpin-all-the-deps.patch | 42 ---------- |
16 |
.../python-lsp-server-1.4.1-r1.ebuild | 90 --------------------- |
17 |
.../python-lsp-server-1.5.0-r1.ebuild | 91 --------------------- |
18 |
.../python-lsp-server-1.5.0.ebuild | 94 ---------------------- |
19 |
7 files changed, 363 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest |
22 |
index f0b66bc22324..902dd05fb26d 100644 |
23 |
--- a/dev-python/python-lsp-server/Manifest |
24 |
+++ b/dev-python/python-lsp-server/Manifest |
25 |
@@ -1,3 +1 @@ |
26 |
-DIST python-lsp-server-1.4.1.tar.gz 76416 BLAKE2B 65638b876182c478434c563371b802367fb8439820ccf57e4404dc1507f3cd514ae5d738d418386607db606025fe5126a533c656ec3fede53fdcfd364a4292cf SHA512 4c9171adc88d219c80055ebbc76566583925129969467c156277b52de9b5981b74b11b9961247045ea98cd9e51e146b2d606c8351a7be5db76f6f4e0e4d7195c |
27 |
-DIST python-lsp-server-1.5.0.tar.gz 82371 BLAKE2B 3ff388a95f7ae9f4a8e1b41244da1d05e9310e1edcbc7cbd2b17bd4fa0cbe696f31885b2093afb12e879c875b2bfa721cf4e5e9876002f145cf1633238f6238a SHA512 4e3463dc737b4f5f2af0faa8ab2eb10bea8208d4633c22acde9c8ffa2a888b2350e5994dca2a66031e301224a2646660f627d7fc238cbf5103e82a0453a9a809 |
28 |
DIST python-lsp-server-1.6.0.tar.gz 85242 BLAKE2B 52fcca5a93035a6ec8179908b2139e9392220cad082afb4c31b18284cdd53050c68fca4bcc9d852fa9acb49200487431fec37dc840e61ab9320fd6c3a86189ee SHA512 e4ab52f334fb1eece3458258ed39bf66eeb6056ed7e243be9c69ce2bac92792786df2fbc1d316133ac5523b44a57e7d89d4d6f18120c748e78ef20570a325c9b |
29 |
|
30 |
diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.4.1-allow-mccabe-0.7.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.4.1-allow-mccabe-0.7.patch |
31 |
deleted file mode 100644 |
32 |
index a31201ab6b15..000000000000 |
33 |
--- a/dev-python/python-lsp-server/files/python-lsp-server-1.4.1-allow-mccabe-0.7.patch |
34 |
+++ /dev/null |
35 |
@@ -1,22 +0,0 @@ |
36 |
-diff --git a/setup.cfg b/setup.cfg |
37 |
-index 156145f..c46fcf3 100644 |
38 |
---- a/setup.cfg |
39 |
-+++ b/setup.cfg |
40 |
-@@ -26,7 +26,7 @@ exclude = contrib; docs; test; test.*; test.plugins; test.plugins.* |
41 |
- all = |
42 |
- autopep8>=1.6.0,<1.7.0 |
43 |
- flake8>=4.0.0,<4.1.0 |
44 |
-- mccabe>=0.6.0,<0.7.0 |
45 |
-+ mccabe>=0.6.0,<0.8.0 |
46 |
- pycodestyle>=2.8.0,<2.9.0 |
47 |
- pydocstyle>=2.0.0 |
48 |
- pyflakes>=2.4.0,<2.5.0 |
49 |
-@@ -35,7 +35,7 @@ all = |
50 |
- yapf |
51 |
- autopep8 = autopep8>=1.6.0,<1.7.0 |
52 |
- flake8 = flake8>=4.0.0,<4.1.0 |
53 |
--mccabe = mccabe>=0.6.0,<0.7.0 |
54 |
-+mccabe = mccabe>=0.6.0,<0.8.0 |
55 |
- pycodestyle = pycodestyle>=2.8.0,<2.9.0 |
56 |
- pydocstyle = pydocstyle>=2.0.0 |
57 |
- pyflakes = pyflakes>=2.4.0,<2.5.0 |
58 |
|
59 |
diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch |
60 |
deleted file mode 100644 |
61 |
index ae8d0944b8f4..000000000000 |
62 |
--- a/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-allow-mccabe-0.7.patch |
63 |
+++ /dev/null |
64 |
@@ -1,22 +0,0 @@ |
65 |
-diff --git a/pyproject.toml b/pyproject.toml |
66 |
-index ff60a18..2d292b7 100644 |
67 |
---- a/pyproject.toml |
68 |
-+++ b/pyproject.toml |
69 |
-@@ -28,7 +28,7 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" |
70 |
- all = [ |
71 |
- "autopep8>=1.6.0,<1.7.0", |
72 |
- "flake8>=4.0.0,<4.1.0", |
73 |
-- "mccabe>=0.6.0,<0.7.0", |
74 |
-+ "mccabe>=0.6.0,<0.8.0", |
75 |
- "pycodestyle>=2.8.0,<2.9.0", |
76 |
- "pydocstyle>=2.0.0", |
77 |
- "pyflakes>=2.4.0,<2.5.0", |
78 |
-@@ -39,7 +39,7 @@ all = [ |
79 |
- ] |
80 |
- autopep8 = ["autopep8>=1.6.0,<1.7.0"] |
81 |
- flake8 = ["flake8>=4.0.0,<4.1.0"] |
82 |
--mccabe = ["mccabe>=0.6.0,<0.7.0"] |
83 |
-+mccabe = ["mccabe>=0.6.0,<0.8.0"] |
84 |
- pycodestyle = ["pycodestyle>=2.8.0,<2.9.0"] |
85 |
- pydocstyle = ["pydocstyle>=2.0.0"] |
86 |
- pyflakes = ["pyflakes>=2.4.0,<2.5.0"] |
87 |
|
88 |
diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-unpin-all-the-deps.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-unpin-all-the-deps.patch |
89 |
deleted file mode 100644 |
90 |
index b8b3eb10f9f2..000000000000 |
91 |
--- a/dev-python/python-lsp-server/files/python-lsp-server-1.5.0-unpin-all-the-deps.patch |
92 |
+++ /dev/null |
93 |
@@ -1,42 +0,0 @@ |
94 |
-diff --git a/pyproject.toml b/pyproject.toml |
95 |
-index ff60a18..0c756ff 100644 |
96 |
---- a/pyproject.toml |
97 |
-+++ b/pyproject.toml |
98 |
-@@ -26,26 +26,26 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" |
99 |
- |
100 |
- [project.optional-dependencies] |
101 |
- all = [ |
102 |
-- "autopep8>=1.6.0,<1.7.0", |
103 |
-- "flake8>=4.0.0,<4.1.0", |
104 |
-- "mccabe>=0.6.0,<0.7.0", |
105 |
-- "pycodestyle>=2.8.0,<2.9.0", |
106 |
-+ "autopep8>=1.6.0", |
107 |
-+ "flake8>=4.0.0", |
108 |
-+ "mccabe>=0.6.0", |
109 |
-+ "pycodestyle>=2.8.0", |
110 |
- "pydocstyle>=2.0.0", |
111 |
-- "pyflakes>=2.4.0,<2.5.0", |
112 |
-+ "pyflakes>=2.4.0", |
113 |
- "pylint>=2.5.0", |
114 |
- "rope>=0.10.5", |
115 |
- "yapf", |
116 |
- "whatthepatch" |
117 |
- ] |
118 |
--autopep8 = ["autopep8>=1.6.0,<1.7.0"] |
119 |
--flake8 = ["flake8>=4.0.0,<4.1.0"] |
120 |
--mccabe = ["mccabe>=0.6.0,<0.7.0"] |
121 |
--pycodestyle = ["pycodestyle>=2.8.0,<2.9.0"] |
122 |
-+autopep8 = ["autopep8>=1.6.0"] |
123 |
-+flake8 = ["flake8>=4.0.0"] |
124 |
-+mccabe = ["mccabe>=0.6.0"] |
125 |
-+pycodestyle = ["pycodestyle>=2.8.0"] |
126 |
- pydocstyle = ["pydocstyle>=2.0.0"] |
127 |
--pyflakes = ["pyflakes>=2.4.0,<2.5.0"] |
128 |
-+pyflakes = ["pyflakes>=2.4.0"] |
129 |
- pylint = ["pylint>=2.5.0"] |
130 |
- rope = ["rope>0.10.5"] |
131 |
--yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] |
132 |
-+yapf = ["yapf", "whatthepatch>=1.0.2"] |
133 |
- websockets = ["websockets>=10.3"] |
134 |
- test = [ |
135 |
- "pylint>=2.5.0", |
136 |
|
137 |
diff --git a/dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild |
138 |
deleted file mode 100644 |
139 |
index 5b50d2c382e3..000000000000 |
140 |
--- a/dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,90 +0,0 @@ |
143 |
-# Copyright 1999-2022 Gentoo Authors |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
- |
146 |
-EAPI=8 |
147 |
- |
148 |
-DISTUTILS_USE_PEP517=setuptools |
149 |
-PYTHON_COMPAT=( python3_{8..10} ) |
150 |
- |
151 |
-inherit distutils-r1 optfeature |
152 |
- |
153 |
-DESCRIPTION="Python Language Server for the Language Server Protocol" |
154 |
-HOMEPAGE="https://github.com/python-lsp/python-lsp-server" |
155 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
156 |
- |
157 |
-LICENSE="MIT" |
158 |
-SLOT="0" |
159 |
-KEYWORDS="amd64 ~arm64 x86" |
160 |
- |
161 |
-IUSE="all-plugins" |
162 |
- |
163 |
-BDEPEND=" |
164 |
- test? ( |
165 |
- >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] |
166 |
- <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] |
167 |
- dev-python/flaky[${PYTHON_USEDEP}] |
168 |
- >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
169 |
- <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] |
170 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
171 |
- >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
172 |
- <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] |
173 |
- <dev-python/numpy-1.23.0[${PYTHON_USEDEP}] |
174 |
- dev-python/pandas[${PYTHON_USEDEP}] |
175 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
176 |
- <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] |
177 |
- >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] |
178 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
179 |
- <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] |
180 |
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] |
181 |
- dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] |
182 |
- >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] |
183 |
- dev-python/yapf[${PYTHON_USEDEP}] |
184 |
- ) |
185 |
-" |
186 |
- |
187 |
-RDEPEND=" |
188 |
- >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] |
189 |
- <dev-python/jedi-0.19.0[${PYTHON_USEDEP}] |
190 |
- >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] |
191 |
- dev-python/pluggy[${PYTHON_USEDEP}] |
192 |
- all-plugins? ( |
193 |
- >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] |
194 |
- <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] |
195 |
- >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
196 |
- <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] |
197 |
- >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
198 |
- <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] |
199 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
200 |
- <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] |
201 |
- >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] |
202 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
203 |
- <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] |
204 |
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] |
205 |
- >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] |
206 |
- dev-python/yapf[${PYTHON_USEDEP}] |
207 |
- ) |
208 |
-" |
209 |
- |
210 |
-PATCHES=( |
211 |
- "${FILESDIR}/${P}-allow-mccabe-0.7.patch" |
212 |
-) |
213 |
- |
214 |
-distutils_enable_tests pytest |
215 |
- |
216 |
-python_prepare_all() { |
217 |
- # remove pytest-cov dep |
218 |
- sed -i -e '0,/addopts/I!d' setup.cfg || die |
219 |
- distutils-r1_python_prepare_all |
220 |
-} |
221 |
- |
222 |
-pkg_postinst() { |
223 |
- optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 |
224 |
- optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 |
225 |
- optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe |
226 |
- optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle |
227 |
- optfeature "Python docstring style checker" dev-python/pydocstyle |
228 |
- optfeature "Passive checker for Python programs" dev-python/pyflakes |
229 |
- optfeature "Python code static checker" dev-python/pylint |
230 |
- optfeature "Python refactoring library" dev-python/rope |
231 |
- optfeature "A formatter for Python files" dev-python/yapf |
232 |
-} |
233 |
|
234 |
diff --git a/dev-python/python-lsp-server/python-lsp-server-1.5.0-r1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.5.0-r1.ebuild |
235 |
deleted file mode 100644 |
236 |
index ba5da2428f9b..000000000000 |
237 |
--- a/dev-python/python-lsp-server/python-lsp-server-1.5.0-r1.ebuild |
238 |
+++ /dev/null |
239 |
@@ -1,91 +0,0 @@ |
240 |
-# Copyright 1999-2022 Gentoo Authors |
241 |
-# Distributed under the terms of the GNU General Public License v2 |
242 |
- |
243 |
-EAPI=8 |
244 |
- |
245 |
-DISTUTILS_USE_PEP517=setuptools |
246 |
-PYTHON_COMPAT=( python3_{8..10} ) |
247 |
- |
248 |
-inherit distutils-r1 optfeature |
249 |
- |
250 |
-DESCRIPTION="Python Language Server for the Language Server Protocol" |
251 |
-HOMEPAGE="https://github.com/python-lsp/python-lsp-server" |
252 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
253 |
- |
254 |
-LICENSE="MIT" |
255 |
-SLOT="0" |
256 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
257 |
- |
258 |
-IUSE="all-plugins" |
259 |
- |
260 |
-BDEPEND=" |
261 |
- test? ( |
262 |
- >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] |
263 |
- dev-python/flaky[${PYTHON_USEDEP}] |
264 |
- >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
265 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
266 |
- >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
267 |
- <dev-python/numpy-1.23.0[${PYTHON_USEDEP}] |
268 |
- dev-python/pandas[${PYTHON_USEDEP}] |
269 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
270 |
- >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] |
271 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
272 |
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] |
273 |
- dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] |
274 |
- >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] |
275 |
- dev-python/yapf[${PYTHON_USEDEP}] |
276 |
- >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] |
277 |
- ) |
278 |
-" |
279 |
- |
280 |
-RDEPEND=" |
281 |
- >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] |
282 |
- >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] |
283 |
- dev-python/pluggy[${PYTHON_USEDEP}] |
284 |
- all-plugins? ( |
285 |
- >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] |
286 |
- >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
287 |
- >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
288 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
289 |
- >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] |
290 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
291 |
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] |
292 |
- >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] |
293 |
- dev-python/yapf[${PYTHON_USEDEP}] |
294 |
- >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] |
295 |
- ) |
296 |
-" |
297 |
- |
298 |
-# Upstream is overly cautious, insists on pinning |
299 |
-# dependencies to versions required by other dependencies. |
300 |
-# i.e. pin to <dev-python/pycodestyle-2.9.0 because |
301 |
-# dev-python/autopep8-1.6.0 requires that version. |
302 |
-# This causes way more problems then it solves. |
303 |
-PATCHES=( |
304 |
- "${FILESDIR}/${P}-unpin-all-the-deps.patch" |
305 |
-) |
306 |
- |
307 |
-EPYTEST_DESELECT=( |
308 |
- # This fails because the error output has changed slightly |
309 |
- "test/plugins/test_pylint_lint.py::test_syntax_error_pylint_py3" |
310 |
-) |
311 |
- |
312 |
-distutils_enable_tests pytest |
313 |
- |
314 |
-python_prepare_all() { |
315 |
- # remove pytest-cov dep |
316 |
- sed -i -e '/addopts =/d' pyproject.toml || die |
317 |
- distutils-r1_python_prepare_all |
318 |
-} |
319 |
- |
320 |
-pkg_postinst() { |
321 |
- optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 |
322 |
- optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 |
323 |
- optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe |
324 |
- optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle |
325 |
- optfeature "Python docstring style checker" dev-python/pydocstyle |
326 |
- optfeature "Passive checker for Python programs" dev-python/pyflakes |
327 |
- optfeature "Python code static checker" dev-python/pylint |
328 |
- optfeature "Python refactoring library" dev-python/rope |
329 |
- optfeature "A formatter for Python files" dev-python/yapf |
330 |
-} |
331 |
|
332 |
diff --git a/dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild |
333 |
deleted file mode 100644 |
334 |
index 6ccf9291ac69..000000000000 |
335 |
--- a/dev-python/python-lsp-server/python-lsp-server-1.5.0.ebuild |
336 |
+++ /dev/null |
337 |
@@ -1,94 +0,0 @@ |
338 |
-# Copyright 1999-2022 Gentoo Authors |
339 |
-# Distributed under the terms of the GNU General Public License v2 |
340 |
- |
341 |
-EAPI=8 |
342 |
- |
343 |
-DISTUTILS_USE_PEP517=setuptools |
344 |
-PYTHON_COMPAT=( python3_{8..10} ) |
345 |
- |
346 |
-inherit distutils-r1 optfeature |
347 |
- |
348 |
-DESCRIPTION="Python Language Server for the Language Server Protocol" |
349 |
-HOMEPAGE="https://github.com/python-lsp/python-lsp-server" |
350 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
351 |
- |
352 |
-LICENSE="MIT" |
353 |
-SLOT="0" |
354 |
-KEYWORDS="amd64 ~arm64 ~x86" |
355 |
- |
356 |
-IUSE="all-plugins" |
357 |
- |
358 |
-BDEPEND=" |
359 |
- test? ( |
360 |
- >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] |
361 |
- <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] |
362 |
- dev-python/flaky[${PYTHON_USEDEP}] |
363 |
- >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
364 |
- <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] |
365 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
366 |
- >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
367 |
- <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] |
368 |
- <dev-python/numpy-1.23.0[${PYTHON_USEDEP}] |
369 |
- dev-python/pandas[${PYTHON_USEDEP}] |
370 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
371 |
- <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] |
372 |
- >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] |
373 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
374 |
- <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] |
375 |
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] |
376 |
- dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] |
377 |
- >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] |
378 |
- dev-python/yapf[${PYTHON_USEDEP}] |
379 |
- >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] |
380 |
- <dev-python/whatthepatch-2.0.0[${PYTHON_USEDEP}] |
381 |
- ) |
382 |
-" |
383 |
- |
384 |
-RDEPEND=" |
385 |
- >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] |
386 |
- <dev-python/jedi-0.19.0[${PYTHON_USEDEP}] |
387 |
- >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] |
388 |
- dev-python/pluggy[${PYTHON_USEDEP}] |
389 |
- all-plugins? ( |
390 |
- >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] |
391 |
- <dev-python/autopep8-1.7.0[${PYTHON_USEDEP}] |
392 |
- >=dev-python/flake8-4.0.0[${PYTHON_USEDEP}] |
393 |
- <dev-python/flake8-4.1.0[${PYTHON_USEDEP}] |
394 |
- >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
395 |
- <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] |
396 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
397 |
- <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] |
398 |
- >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] |
399 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
400 |
- <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] |
401 |
- >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] |
402 |
- >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] |
403 |
- dev-python/yapf[${PYTHON_USEDEP}] |
404 |
- >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] |
405 |
- <dev-python/whatthepatch-2.0.0[${PYTHON_USEDEP}] |
406 |
- ) |
407 |
-" |
408 |
- |
409 |
-PATCHES=( |
410 |
- "${FILESDIR}/${P}-allow-mccabe-0.7.patch" |
411 |
-) |
412 |
- |
413 |
-distutils_enable_tests pytest |
414 |
- |
415 |
-python_prepare_all() { |
416 |
- # remove pytest-cov dep |
417 |
- sed -i -e '/addopts =/d' pyproject.toml || die |
418 |
- distutils-r1_python_prepare_all |
419 |
-} |
420 |
- |
421 |
-pkg_postinst() { |
422 |
- optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 |
423 |
- optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 |
424 |
- optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe |
425 |
- optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle |
426 |
- optfeature "Python docstring style checker" dev-python/pydocstyle |
427 |
- optfeature "Passive checker for Python programs" dev-python/pyflakes |
428 |
- optfeature "Python code static checker" dev-python/pylint |
429 |
- optfeature "Python refactoring library" dev-python/rope |
430 |
- optfeature "A formatter for Python files" dev-python/yapf |
431 |
-} |