1 |
commit: 7be0916ef2eed3d6b195114be3e51b5ced5dfab2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 23:07:30 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 08:19:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be0916e |
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.6.ebuild | 101 ------------------------------ |
14 |
dev-python/notebook/notebook-6.4.7.ebuild | 101 ------------------------------ |
15 |
3 files changed, 204 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest |
18 |
index 6e36f5df8ce9..3550849f0100 100644 |
19 |
--- a/dev-python/notebook/Manifest |
20 |
+++ b/dev-python/notebook/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST notebook-6.4.6.tar.gz 14342345 BLAKE2B cc9d5968d05d9f75f60f02adfb5ef35f39e4a5de027356af73c6dfb1f3aebc271e5b3bc639eb8605748abd30d43bfaab662d41b3b764c91cc545c2d1848881f4 SHA512 92b10bdc041bc0f3af1b42ad219abda37402e0fa4ea16ddcfd2ffc450cc7f49ce1d770cb477160c3fa58c387f85d22ca3f4e4c6507a5cbf7a92bc5268baf661e |
23 |
-DIST notebook-6.4.7.tar.gz 14347832 BLAKE2B 3430aed18e2748005a98ba8e369d3aeda1925098ea1cb59fd6c5b4fc559a9f3ad41dc3fa655a7cce05a6be7fb44c6fe1b2a6e676a7e3933a658bc2f86a603efc SHA512 8a546360948bde566f6853ad63b38f6fbbdd5cfe8bb6b74379e3feae9aeb0f71c1bd7f1e90798cd95c0203e696d73e2797bdb73160106ae4b9ec661f65b860a0 |
24 |
DIST notebook-6.4.8.tar.gz 14347639 BLAKE2B c2201562f0d672f16d6ae2388a443fcd87e81ae7de78c3a42acef82ff3e78c8e94e2be61e6156f622a9339138a2f14edef5057a3e601a7c15c8793f56d1071e2 SHA512 0e87aa155635ae536eb5a152c46cadbf85907a5af2ca15d063e718ff566ac6b76f4ce0f06f8adacae3be05ea970f1059d793e3121be855efd6c9072e9aa51719 |
25 |
|
26 |
diff --git a/dev-python/notebook/notebook-6.4.6.ebuild b/dev-python/notebook/notebook-6.4.6.ebuild |
27 |
deleted file mode 100644 |
28 |
index d6fca6cccb36..000000000000 |
29 |
--- a/dev-python/notebook/notebook-6.4.6.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,101 +0,0 @@ |
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..10} ) |
38 |
-PYTHON_REQ_USE="threads(+)" |
39 |
- |
40 |
-inherit distutils-r1 xdg-utils |
41 |
- |
42 |
-DESCRIPTION="Jupyter Interactive Notebook" |
43 |
-HOMEPAGE="https://jupyter.org" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc x86" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- >=dev-libs/mathjax-2.4 |
52 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
53 |
- dev-python/jinja[${PYTHON_USEDEP}] |
54 |
- >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
55 |
- >=www-servers/tornado-6.0[${PYTHON_USEDEP}] |
56 |
- dev-python/ipython_genutils[${PYTHON_USEDEP}] |
57 |
- >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] |
58 |
- >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] |
59 |
- >=dev-python/pyzmq-17[${PYTHON_USEDEP}] |
60 |
- >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] |
61 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
62 |
- >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] |
63 |
- >=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}] |
64 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
65 |
- >=dev-python/send2trash-1.8.0[${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.7.ebuild b/dev-python/notebook/notebook-6.4.7.ebuild |
135 |
deleted file mode 100644 |
136 |
index c8d50af63708..000000000000 |
137 |
--- a/dev-python/notebook/notebook-6.4.7.ebuild |
138 |
+++ /dev/null |
139 |
@@ -1,101 +0,0 @@ |
140 |
-# Copyright 1999-2022 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 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~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/nest_asyncio-1.5[${PYTHON_USEDEP}] |
172 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
173 |
- >=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}] |
174 |
- dev-python/prometheus_client[${PYTHON_USEDEP}]" |
175 |
- |
176 |
-# sphinx 2+ seems to have a problem with its github plugin. temporarily adding |
177 |
-# a version constraint. |
178 |
-BDEPEND=" |
179 |
- test? ( |
180 |
- dev-python/requests[${PYTHON_USEDEP}] |
181 |
- dev-python/requests-unixsocket[${PYTHON_USEDEP}] |
182 |
- ) |
183 |
-" |
184 |
- |
185 |
-PATCHES=( |
186 |
- "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch |
187 |
-) |
188 |
- |
189 |
-distutils_enable_tests --install pytest |
190 |
- |
191 |
-python_prepare_all() { |
192 |
- # disable bundled mathjax |
193 |
- sed -i 's/^.*MathJax.*$//' bower.json || die |
194 |
- |
195 |
- distutils-r1_python_prepare_all |
196 |
-} |
197 |
- |
198 |
-python_test() { |
199 |
- local deselect=( |
200 |
- # trash doesn't seem to work for us |
201 |
- notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file |
202 |
- notebook/services/contents/tests/test_contents_api.py::APITest::test_delete |
203 |
- notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file |
204 |
- notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete |
205 |
- notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs |
206 |
- notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir |
207 |
- notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete |
208 |
- notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete |
209 |
- # TODO |
210 |
- notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections |
211 |
- notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections |
212 |
- notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling |
213 |
- ) |
214 |
- |
215 |
- # selenium tests require geckodriver |
216 |
- epytest --ignore notebook/tests/selenium ${deselect[@]/#/--deselect } |
217 |
-} |
218 |
- |
219 |
-python_install() { |
220 |
- distutils-r1_python_install |
221 |
- |
222 |
- ln -sf \ |
223 |
- "${EPREFIX}/usr/share/mathjax" \ |
224 |
- "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die |
225 |
-} |
226 |
- |
227 |
-pkg_preinst() { |
228 |
- # remove old mathjax folder if present |
229 |
- rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die |
230 |
-} |
231 |
- |
232 |
-pkg_postinst() { |
233 |
- xdg_desktop_database_update |
234 |
- xdg_icon_cache_update |
235 |
-} |
236 |
- |
237 |
-pkg_postrm() { |
238 |
- xdg_desktop_database_update |
239 |
- xdg_icon_cache_update |
240 |
-} |