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/ipykernel/files/, dev-python/ipykernel/
Date: Tue, 03 May 2022 20:04:04
Message-Id: 1651608209.3de7dfb77c539326e57c371260834469bf627470.mgorny@gentoo
1 commit: 3de7dfb77c539326e57c371260834469bf627470
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 20:00:14 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 20:03:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3de7dfb7
7
8 dev-python/ipykernel: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/ipykernel/Manifest | 4 --
13 .../files/ipykernel-6.5.0-drop-pytest-cov.patch | 12 ----
14 dev-python/ipykernel/ipykernel-6.10.0.ebuild | 72 ----------------------
15 dev-python/ipykernel/ipykernel-6.11.0.ebuild | 64 -------------------
16 dev-python/ipykernel/ipykernel-6.12.1.ebuild | 65 -------------------
17 dev-python/ipykernel/ipykernel-6.9.2.ebuild | 72 ----------------------
18 6 files changed, 289 deletions(-)
19
20 diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest
21 index 11be5be2ebe5..f3bbb00d6b69 100644
22 --- a/dev-python/ipykernel/Manifest
23 +++ b/dev-python/ipykernel/Manifest
24 @@ -1,5 +1 @@
25 -DIST ipykernel-6.10.0.tar.gz 129057 BLAKE2B e50fd0b5d041236002d29360eb670e5bcf97ad6e0eff091e62a4189567d14832b6fa95915bbd29818b897430fa3f37b930c54155a407cc46d7a9607aa19caf2b SHA512 9f2c9e24244e5c3aafbfd2da6a131cbf19abfeb8164e6a64c69aa4b65dad92101137482c71f53eb5d8395944d6714938a73556e5dbfc8a6c92303c716d6244b5
26 -DIST ipykernel-6.11.0.tar.gz 129429 BLAKE2B 746cff0b32a1282f8abe02bd339d35061ceb04d3f4d7fc325bc97b744185958ed91beaff83c19d269e0d8ec7b35c5c88412c135c1aa2dcbf770846986eddc82f SHA512 69b88e3c8b552f5277f392a004a33a5c64c2edc93aeea0d2c2d03b0d8ee649f41fc1378068c1dd8322807cce188f5579c0d92730760baeca8170a98f585f500b
27 -DIST ipykernel-6.12.1.tar.gz 129979 BLAKE2B 96ee301974c9353374b6869003995238068f4abcdaa0cf4c2b6294c1ef8c4e6358e93a41feaa49fcba587fb94ca719f3180eac2b47fbbf6c54fa9fb315d784ad SHA512 309701a287e8b87d0f8b07eac402e2fc163515f471f3b5b3187bc210c47714d4cfb496f40e34ebad47be5e7eca8157ef0eea7da141fb16a6fd943f4a2095f360
28 DIST ipykernel-6.13.0.tar.gz 131331 BLAKE2B 95a662b5ff6062fd8f6712a214b2bdcb227064acec145ebbb2ff7dfc0647ee9c486bbb560502e8ab6c5f74bb44c7715a1ee16f4b8cd2661b7a6e77206be7ab67 SHA512 6025a540d7ae08f637d2cc9a022805df54c11844c93d989be73a3a800fb0985ec56f2ce5d8ee940a5ce51d41b4d1f632131b25c1f5847cb51623c285c4944f39
29 -DIST ipykernel-6.9.2.tar.gz 128759 BLAKE2B 74740bdbe420d14cbb75e5a1dee9bfb0894c3e10ebf029bd7ceb29eb5112489ef83bc9a2075f6dd1cf16745f893d3782ee22144edfec66d650246eaa0d97215c SHA512 a452d7a44c4e33cb2d79262916045fe3044803f20db7d525bca3277dd49e9d216d07a832312b29a5a61293ecf7863641a45e0f188136059799287c5983beb0d4
30
31 diff --git a/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch b/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch
32 deleted file mode 100644
33 index 3b792d21f47e..000000000000
34 --- a/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch
35 +++ /dev/null
36 @@ -1,12 +0,0 @@
37 -Drop unnecessary pytest-cov dependency (we don't care downstream about running coverage
38 -reports in unit tests for users).
39 ---- a/setup.py
40 -+++ b/setup.py
41 -@@ -76,7 +76,6 @@ setup_args = dict(
42 - extras_require={
43 - "test": [
44 - "pytest !=5.3.4",
45 -- "pytest-cov",
46 - "flaky",
47 - "nose", # nose because we are still using nose streams from ipython
48 - "ipyparallel",
49
50 diff --git a/dev-python/ipykernel/ipykernel-6.10.0.ebuild b/dev-python/ipykernel/ipykernel-6.10.0.ebuild
51 deleted file mode 100644
52 index 24ffa9580d59..000000000000
53 --- a/dev-python/ipykernel/ipykernel-6.10.0.ebuild
54 +++ /dev/null
55 @@ -1,72 +0,0 @@
56 -# Copyright 1999-2022 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=8
60 -
61 -DISTUTILS_USE_PEP517=setuptools
62 -PYTHON_COMPAT=( python3_{8..10} )
63 -PYTHON_REQ_USE="threads(+)"
64 -
65 -inherit distutils-r1
66 -
67 -DESCRIPTION="IPython Kernel for Jupyter"
68 -HOMEPAGE="https://github.com/ipython/ipykernel"
69 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
70 -
71 -LICENSE="BSD"
72 -SLOT="0"
73 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
74 -
75 -RDEPEND="
76 - >=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}]
77 - <dev-python/debugpy-2.0[${PYTHON_USEDEP}]
78 - >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
79 - >=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}]
80 - <dev-python/traitlets-6.0[${PYTHON_USEDEP}]
81 - <dev-python/jupyter_client-8.0[${PYTHON_USEDEP}]
82 - >=www-servers/tornado-5.0[${PYTHON_USEDEP}]
83 - <www-servers/tornado-7.0[${PYTHON_USEDEP}]
84 - >=dev-python/matplotlib-inline-0.1.0[${PYTHON_USEDEP}]
85 - <dev-python/matplotlib-inline-0.2.0[${PYTHON_USEDEP}]
86 - dev-python/nest_asyncio[${PYTHON_USEDEP}]
87 - dev-python/psutil[${PYTHON_USEDEP}]
88 -"
89 -# RDEPEND seems specifically needed in BDEPEND, at least jupyter
90 -# bug #816486
91 -BDEPEND="
92 - ${RDEPEND}
93 - test? (
94 - dev-python/flaky[${PYTHON_USEDEP}]
95 - dev-python/nose[${PYTHON_USEDEP}]
96 - dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
97 - dev-python/ipyparallel[${PYTHON_USEDEP}]
98 - )
99 -"
100 -
101 -PATCHES=(
102 - "${FILESDIR}"/${PN}-6.5.0-drop-pytest-cov.patch
103 -)
104 -
105 -distutils_enable_tests pytest
106 -
107 -EPYTEST_DESELECT=(
108 - # TODO
109 - ipykernel/tests/test_debugger.py::test_attach_debug
110 - ipykernel/tests/test_debugger.py::test_set_breakpoints
111 - ipykernel/tests/test_debugger.py::test_stop_on_breakpoint
112 - ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
113 - ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
114 - ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint
115 -)
116 -
117 -src_prepare() {
118 - sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
119 - distutils-r1_src_prepare
120 -}
121 -
122 -python_compile() {
123 - distutils-r1_python_compile
124 - # Use python3 in kernel.json configuration, bug #784764
125 - sed -i -e '/python3.[0-9]\+/s//python3/' \
126 - "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
127 -}
128
129 diff --git a/dev-python/ipykernel/ipykernel-6.11.0.ebuild b/dev-python/ipykernel/ipykernel-6.11.0.ebuild
130 deleted file mode 100644
131 index 63c34c5dcd79..000000000000
132 --- a/dev-python/ipykernel/ipykernel-6.11.0.ebuild
133 +++ /dev/null
134 @@ -1,64 +0,0 @@
135 -# Copyright 1999-2022 Gentoo Authors
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=8
139 -
140 -DISTUTILS_USE_PEP517=setuptools
141 -PYTHON_COMPAT=( python3_{8..10} )
142 -PYTHON_REQ_USE="threads(+)"
143 -
144 -inherit distutils-r1
145 -
146 -DESCRIPTION="IPython Kernel for Jupyter"
147 -HOMEPAGE="https://github.com/ipython/ipykernel"
148 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
149 -
150 -LICENSE="BSD"
151 -SLOT="0"
152 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
153 -
154 -RDEPEND="
155 - >=dev-python/debugpy-1.0[${PYTHON_USEDEP}]
156 - >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
157 - >=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}]
158 - >=dev-python/jupyter_client-6.1.12[${PYTHON_USEDEP}]
159 - >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
160 - >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}]
161 - dev-python/nest_asyncio[${PYTHON_USEDEP}]
162 - dev-python/psutil[${PYTHON_USEDEP}]
163 - >=dev-python/setuptools-60[${PYTHON_USEDEP}]
164 -"
165 -# RDEPEND seems specifically needed in BDEPEND, at least jupyter
166 -# bug #816486
167 -BDEPEND="
168 - ${RDEPEND}
169 - test? (
170 - dev-python/flaky[${PYTHON_USEDEP}]
171 - dev-python/pytest-timeout[${PYTHON_USEDEP}]
172 - dev-python/ipyparallel[${PYTHON_USEDEP}]
173 - )
174 -"
175 -
176 -distutils_enable_tests pytest
177 -
178 -EPYTEST_DESELECT=(
179 - # TODO
180 - ipykernel/tests/test_debugger.py::test_attach_debug
181 - ipykernel/tests/test_debugger.py::test_set_breakpoints
182 - ipykernel/tests/test_debugger.py::test_stop_on_breakpoint
183 - ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
184 - ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
185 - ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint
186 -)
187 -
188 -src_prepare() {
189 - sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
190 - distutils-r1_src_prepare
191 -}
192 -
193 -python_compile() {
194 - distutils-r1_python_compile
195 - # Use python3 in kernel.json configuration, bug #784764
196 - sed -i -e '/python3.[0-9]\+/s//python3/' \
197 - "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
198 -}
199
200 diff --git a/dev-python/ipykernel/ipykernel-6.12.1.ebuild b/dev-python/ipykernel/ipykernel-6.12.1.ebuild
201 deleted file mode 100644
202 index f3c45991a014..000000000000
203 --- a/dev-python/ipykernel/ipykernel-6.12.1.ebuild
204 +++ /dev/null
205 @@ -1,65 +0,0 @@
206 -# Copyright 1999-2022 Gentoo Authors
207 -# Distributed under the terms of the GNU General Public License v2
208 -
209 -EAPI=8
210 -
211 -DISTUTILS_USE_PEP517=setuptools
212 -PYTHON_COMPAT=( python3_{8..10} )
213 -PYTHON_REQ_USE="threads(+)"
214 -
215 -inherit distutils-r1
216 -
217 -DESCRIPTION="IPython Kernel for Jupyter"
218 -HOMEPAGE="https://github.com/ipython/ipykernel"
219 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
220 -
221 -LICENSE="BSD"
222 -SLOT="0"
223 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
224 -
225 -RDEPEND="
226 - >=dev-python/debugpy-1.0[${PYTHON_USEDEP}]
227 - >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
228 - >=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}]
229 - >=dev-python/jupyter_client-6.1.12[${PYTHON_USEDEP}]
230 - >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
231 - >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}]
232 - dev-python/nest_asyncio[${PYTHON_USEDEP}]
233 - dev-python/psutil[${PYTHON_USEDEP}]
234 - dev-python/packaging[${PYTHON_USEDEP}]
235 -"
236 -# RDEPEND seems specifically needed in BDEPEND, at least jupyter
237 -# bug #816486
238 -BDEPEND="
239 - ${RDEPEND}
240 - test? (
241 - dev-python/flaky[${PYTHON_USEDEP}]
242 - dev-python/pytest-timeout[${PYTHON_USEDEP}]
243 - dev-python/ipyparallel[${PYTHON_USEDEP}]
244 - )
245 -"
246 -
247 -distutils_enable_tests pytest
248 -
249 -EPYTEST_DESELECT=(
250 - # TODO
251 - ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_pylab
252 - ipykernel/tests/test_debugger.py::test_attach_debug
253 - ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
254 - ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint
255 - ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
256 - ipykernel/tests/test_debugger.py::test_set_breakpoints
257 - ipykernel/tests/test_debugger.py::test_stop_on_breakpoint
258 -)
259 -
260 -src_prepare() {
261 - sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
262 - distutils-r1_src_prepare
263 -}
264 -
265 -python_compile() {
266 - distutils-r1_python_compile
267 - # Use python3 in kernel.json configuration, bug #784764
268 - sed -i -e '/python3.[0-9]\+/s//python3/' \
269 - "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
270 -}
271
272 diff --git a/dev-python/ipykernel/ipykernel-6.9.2.ebuild b/dev-python/ipykernel/ipykernel-6.9.2.ebuild
273 deleted file mode 100644
274 index 61cbf240cb0a..000000000000
275 --- a/dev-python/ipykernel/ipykernel-6.9.2.ebuild
276 +++ /dev/null
277 @@ -1,72 +0,0 @@
278 -# Copyright 1999-2022 Gentoo Authors
279 -# Distributed under the terms of the GNU General Public License v2
280 -
281 -EAPI=8
282 -
283 -DISTUTILS_USE_PEP517=setuptools
284 -PYTHON_COMPAT=( python3_{8..10} )
285 -PYTHON_REQ_USE="threads(+)"
286 -
287 -inherit distutils-r1
288 -
289 -DESCRIPTION="IPython Kernel for Jupyter"
290 -HOMEPAGE="https://github.com/ipython/ipykernel"
291 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
292 -
293 -LICENSE="BSD"
294 -SLOT="0"
295 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
296 -
297 -RDEPEND="
298 - >=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}]
299 - <dev-python/debugpy-2.0[${PYTHON_USEDEP}]
300 - >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}]
301 - >=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}]
302 - <dev-python/traitlets-6.0[${PYTHON_USEDEP}]
303 - <dev-python/jupyter_client-8.0[${PYTHON_USEDEP}]
304 - >=www-servers/tornado-4.2[${PYTHON_USEDEP}]
305 - <www-servers/tornado-7.0[${PYTHON_USEDEP}]
306 - >=dev-python/matplotlib-inline-0.1.0[${PYTHON_USEDEP}]
307 - <dev-python/matplotlib-inline-0.2.0[${PYTHON_USEDEP}]
308 - dev-python/nest_asyncio[${PYTHON_USEDEP}]
309 - dev-python/psutil[${PYTHON_USEDEP}]
310 -"
311 -# RDEPEND seems specifically needed in BDEPEND, at least jupyter
312 -# bug #816486
313 -BDEPEND="
314 - ${RDEPEND}
315 - test? (
316 - dev-python/flaky[${PYTHON_USEDEP}]
317 - dev-python/nose[${PYTHON_USEDEP}]
318 - dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
319 - dev-python/ipyparallel[${PYTHON_USEDEP}]
320 - )
321 -"
322 -
323 -PATCHES=(
324 - "${FILESDIR}"/${PN}-6.5.0-drop-pytest-cov.patch
325 -)
326 -
327 -distutils_enable_tests pytest
328 -
329 -EPYTEST_DESELECT=(
330 - # TODO
331 - ipykernel/tests/test_debugger.py::test_attach_debug
332 - ipykernel/tests/test_debugger.py::test_set_breakpoints
333 - ipykernel/tests/test_debugger.py::test_stop_on_breakpoint
334 - ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines
335 - ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint
336 - ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint
337 -)
338 -
339 -src_prepare() {
340 - sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die
341 - distutils-r1_src_prepare
342 -}
343 -
344 -python_compile() {
345 - distutils-r1_python_compile
346 - # Use python3 in kernel.json configuration, bug #784764
347 - sed -i -e '/python3.[0-9]\+/s//python3/' \
348 - "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die
349 -}