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