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/notebook/
Date: Sun, 12 Sep 2021 07:39:43
Message-Id: 1631432373.0d7179257c674c641afc23580a470683503191a1.mgorny@gentoo
1 commit: 0d7179257c674c641afc23580a470683503191a1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 07:38:26 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 07:39:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d717925
7
8 dev-python/notebook: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/notebook/Manifest | 2 -
13 dev-python/notebook/notebook-6.4.0.ebuild | 100 ------------------------------
14 dev-python/notebook/notebook-6.4.1.ebuild | 100 ------------------------------
15 3 files changed, 202 deletions(-)
16
17 diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
18 index 10100346246..011dcb03210 100644
19 --- a/dev-python/notebook/Manifest
20 +++ b/dev-python/notebook/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST notebook-6.4.0.tar.gz 13937270 BLAKE2B 41ba6e3dd22c92b6044199737fe93563aad07117e8c64817566765d643867b582218a1b34099acf2a84df9ac9f8eb2773f6f3e6779b14255867fd97ec443df85 SHA512 8bb57b3efaaddb781ee963a569996e45c563b50b2cb918fb7722805710dd5852d895ff5b5f5575686032a037d7395aa581140b471b529d68dfcb371841607481
23 -DIST notebook-6.4.1.tar.gz 14139457 BLAKE2B 4be00ba6cd2f66873657f8ad5f79b444bbfbb978eaac7ddb57ef5da39a81c2746e7658004179e44aa98fa5fc5954b022b2e3c0c15dac0cc6da21b95a16225bfd SHA512 aa73e90f8ad1888f469e4cb412b6f17742e3b68ce429b2feaafeaeebbbb9e0cc437f3f73f26204b8de8367620ecb492033786c00b04d641ce0bfb4df75460419
24 DIST notebook-6.4.2.tar.gz 14133763 BLAKE2B 2c4f9677b014f484f7c975344f6e3aa29476b3b3bf2dd329ee527be653573f199c6d66078bc1f0787227414fb818df8df3d38e5f1bea9d3f2605f796a391cb37 SHA512 d9914c2924b7a0837295a7cfe2bdf551e1d71f35bab43bd6d12e798562c7e103f28cfdff6692e6ac5de394867071b8e1eae7a26bfd0a76b4a9304b7bea29f119
25 DIST notebook-6.4.3.tar.gz 14344061 BLAKE2B a6d12df889015801a47061b40c320f659adda19cdf37832de1fd2b0257e7b1e22439aa4fd7663595c798b4b04c8c8e720a3799bcb20b93a0229ccf26622eee04 SHA512 14bb5c1a858c2d48f19f6a9907c4e3a053e77586a9ce78f3116752a02c39056bfa02fac5ef37404b742861a66751ca765b1d329a530b09752cf54fa464ab565b
26
27 diff --git a/dev-python/notebook/notebook-6.4.0.ebuild b/dev-python/notebook/notebook-6.4.0.ebuild
28 deleted file mode 100644
29 index 411165084fd..00000000000
30 --- a/dev-python/notebook/notebook-6.4.0.ebuild
31 +++ /dev/null
32 @@ -1,100 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -PYTHON_REQ_USE="threads(+)"
40 -
41 -inherit distutils-r1 xdg-utils
42 -
43 -DESCRIPTION="Jupyter Interactive Notebook"
44 -HOMEPAGE="https://jupyter.org"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
50 -
51 -RDEPEND="
52 - >=dev-libs/mathjax-2.4
53 - dev-python/argon2-cffi[${PYTHON_USEDEP}]
54 - dev-python/jinja[${PYTHON_USEDEP}]
55 - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
56 - >=www-servers/tornado-6.0[${PYTHON_USEDEP}]
57 - dev-python/ipython_genutils[${PYTHON_USEDEP}]
58 - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
59 - >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}]
60 - >=dev-python/pyzmq-17[${PYTHON_USEDEP}]
61 - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
62 - dev-python/nbformat[${PYTHON_USEDEP}]
63 - >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
64 - dev-python/ipykernel[${PYTHON_USEDEP}]
65 - dev-python/send2trash[${PYTHON_USEDEP}]
66 - dev-python/prometheus_client[${PYTHON_USEDEP}]"
67 -
68 -# sphinx 2+ seems to have a problem with its github plugin. temporarily adding
69 -# a version constraint.
70 -BDEPEND="
71 - test? (
72 - dev-python/requests[${PYTHON_USEDEP}]
73 - dev-python/requests-unixsocket[${PYTHON_USEDEP}]
74 - )
75 -"
76 -
77 -PATCHES=(
78 - "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch
79 -)
80 -
81 -distutils_enable_tests --install pytest
82 -
83 -python_prepare_all() {
84 - # disable bundled mathjax
85 - sed -i 's/^.*MathJax.*$//' bower.json || die
86 -
87 - distutils-r1_python_prepare_all
88 -}
89 -
90 -python_test() {
91 - local deselect=(
92 - # trash doesn't seem to work for us
93 - notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file
94 - notebook/services/contents/tests/test_contents_api.py::APITest::test_delete
95 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file
96 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete
97 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs
98 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir
99 - notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete
100 - notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete
101 - # TODO
102 - notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections
103 - notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections
104 - notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling
105 - )
106 -
107 - # selenium tests require geckodriver
108 - epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect }
109 -}
110 -
111 -python_install() {
112 - distutils-r1_python_install
113 -
114 - ln -sf \
115 - "${EPREFIX}/usr/share/mathjax" \
116 - "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
117 -}
118 -
119 -pkg_preinst() {
120 - # remove old mathjax folder if present
121 - rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
122 -}
123 -
124 -pkg_postinst() {
125 - xdg_desktop_database_update
126 - xdg_icon_cache_update
127 -}
128 -
129 -pkg_postrm() {
130 - xdg_desktop_database_update
131 - xdg_icon_cache_update
132 -}
133
134 diff --git a/dev-python/notebook/notebook-6.4.1.ebuild b/dev-python/notebook/notebook-6.4.1.ebuild
135 deleted file mode 100644
136 index 892d3ca7cd8..00000000000
137 --- a/dev-python/notebook/notebook-6.4.1.ebuild
138 +++ /dev/null
139 @@ -1,100 +0,0 @@
140 -# Copyright 1999-2021 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=8
144 -
145 -PYTHON_COMPAT=( python3_{8..10} )
146 -PYTHON_REQ_USE="threads(+)"
147 -
148 -inherit distutils-r1 xdg-utils
149 -
150 -DESCRIPTION="Jupyter Interactive Notebook"
151 -HOMEPAGE="https://jupyter.org"
152 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
153 -
154 -LICENSE="BSD"
155 -SLOT="0"
156 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
157 -
158 -RDEPEND="
159 - >=dev-libs/mathjax-2.4
160 - dev-python/argon2-cffi[${PYTHON_USEDEP}]
161 - dev-python/jinja[${PYTHON_USEDEP}]
162 - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
163 - >=www-servers/tornado-6.0[${PYTHON_USEDEP}]
164 - dev-python/ipython_genutils[${PYTHON_USEDEP}]
165 - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
166 - >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}]
167 - >=dev-python/pyzmq-17[${PYTHON_USEDEP}]
168 - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
169 - dev-python/nbformat[${PYTHON_USEDEP}]
170 - >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
171 - dev-python/ipykernel[${PYTHON_USEDEP}]
172 - dev-python/send2trash[${PYTHON_USEDEP}]
173 - dev-python/prometheus_client[${PYTHON_USEDEP}]"
174 -
175 -# sphinx 2+ seems to have a problem with its github plugin. temporarily adding
176 -# a version constraint.
177 -BDEPEND="
178 - test? (
179 - dev-python/requests[${PYTHON_USEDEP}]
180 - dev-python/requests-unixsocket[${PYTHON_USEDEP}]
181 - )
182 -"
183 -
184 -PATCHES=(
185 - "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch
186 -)
187 -
188 -distutils_enable_tests --install pytest
189 -
190 -python_prepare_all() {
191 - # disable bundled mathjax
192 - sed -i 's/^.*MathJax.*$//' bower.json || die
193 -
194 - distutils-r1_python_prepare_all
195 -}
196 -
197 -python_test() {
198 - local deselect=(
199 - # trash doesn't seem to work for us
200 - notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file
201 - notebook/services/contents/tests/test_contents_api.py::APITest::test_delete
202 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file
203 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete
204 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs
205 - notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir
206 - notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete
207 - notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete
208 - # TODO
209 - notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections
210 - notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections
211 - notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling
212 - )
213 -
214 - # selenium tests require geckodriver
215 - epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect }
216 -}
217 -
218 -python_install() {
219 - distutils-r1_python_install
220 -
221 - ln -sf \
222 - "${EPREFIX}/usr/share/mathjax" \
223 - "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
224 -}
225 -
226 -pkg_preinst() {
227 - # remove old mathjax folder if present
228 - rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
229 -}
230 -
231 -pkg_postinst() {
232 - xdg_desktop_database_update
233 - xdg_icon_cache_update
234 -}
235 -
236 -pkg_postrm() {
237 - xdg_desktop_database_update
238 - xdg_icon_cache_update
239 -}