1 |
commit: dee59e66f59420a4a2a9578cea8e547e71851c92 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 08:58:43 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 08:58:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dee59e66 |
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.1.3.ebuild | 93 ------------------------------- |
14 |
dev-python/notebook/notebook-6.1.5.ebuild | 93 ------------------------------- |
15 |
3 files changed, 188 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest |
18 |
index e9dd7c92f81..928f4865e07 100644 |
19 |
--- a/dev-python/notebook/Manifest |
20 |
+++ b/dev-python/notebook/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST notebook-6.1.3.tar.gz 13806042 BLAKE2B da63fdabd1a71e4247a9e340539e688410a84c58d94049dfb7e8e3fcdc53686a55eb855687df34ff48f599a0c5aececbd9a8e1aa1d2ff7baa2a6da1b4e1bcf24 SHA512 67a8feb01dfb665bb24f3ce1b28212e9bad5a188e8cef1d168c4edaf207cbc16d516f6024ca905f75f1c27ba4890da858c5278a3ee84a4c4ac1bdbf225afa351 |
23 |
-DIST notebook-6.1.5.tar.gz 13925632 BLAKE2B ce9d0ee110a158ba0ee3f3199a7cc1c8d53ecb72e8f77f43d2b1e5552b4a0378edca9a987634e12d8429c70595ec4cc226784248d196501b3a04c67e4ba88c85 SHA512 4b0893c805a0494c369b363b7d1c606a1b124869e601eafce1eb4c93ad1436b757c6149bc76c489aa26171412280d69e894b44d7d19141341fb1194a8e2f447b |
24 |
DIST notebook-6.1.6.tar.gz 13926673 BLAKE2B 944f92d468ade0f0d3fbe01d46cb2893866fca067b48c6a6cefe653b9941bbde0802c7d9ee17b493bcf6391d1b0a77e710f5b5c8f1d58ec692b40753ac0692e9 SHA512 d1271273ae9cc098d5937a3ac91dc8035b033bb8da799f31c5d71abe48b17579f2fadc8b0ff7134dedda72ac49cc29c5adafaa4ef6f347cc4f6698ab46d83040 |
25 |
DIST notebook-6.2.0.tar.gz 13927515 BLAKE2B ca752f0cb316b46b71d8451c59c196c324008c296dfc7fbc4ee426ba5b3c1035e90170e46720547a9e3f2cf381ab5e0294185ee1a814d31ffbe6ecf546f229d6 SHA512 217392000ca2d0266137f937fc4d2a1b81ed19217fdbf6550b07453eede8b9a6e15c8fbb1c94f559a7f44ac73dfadcefeae815c186e56bb1e9a30120fe070f3a |
26 |
|
27 |
diff --git a/dev-python/notebook/notebook-6.1.3.ebuild b/dev-python/notebook/notebook-6.1.3.ebuild |
28 |
deleted file mode 100644 |
29 |
index 96f3d689921..00000000000 |
30 |
--- a/dev-python/notebook/notebook-6.1.3.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,93 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
-PYTHON_COMPAT=( python3_{6..9} ) |
40 |
-PYTHON_REQ_USE="threads(+)" |
41 |
- |
42 |
-inherit distutils-r1 |
43 |
- |
44 |
-DESCRIPTION="Jupyter Interactive Notebook" |
45 |
-HOMEPAGE="https://jupyter.org" |
46 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="BSD" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64 ~arm64 x86" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- >=dev-libs/mathjax-2.4 |
54 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
55 |
- dev-python/jinja[${PYTHON_USEDEP}] |
56 |
- >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
57 |
- >=www-servers/tornado-5.0[${PYTHON_USEDEP}] |
58 |
- dev-python/ipython_genutils[${PYTHON_USEDEP}] |
59 |
- >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] |
60 |
- >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] |
61 |
- >=dev-python/pyzmq-17[${PYTHON_USEDEP}] |
62 |
- >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] |
63 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
64 |
- >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] |
65 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
66 |
- dev-python/send2trash[${PYTHON_USEDEP}] |
67 |
- dev-python/prometheus_client[${PYTHON_USEDEP}]" |
68 |
- |
69 |
-# sphinx 2+ seems to have a problem with its github plugin. temporarily adding |
70 |
-# a version constraint. |
71 |
-BDEPEND=" |
72 |
- test? ( |
73 |
- dev-python/nose[${PYTHON_USEDEP}] |
74 |
- dev-python/nose_warnings_filters[${PYTHON_USEDEP}] |
75 |
- dev-python/requests[${PYTHON_USEDEP}] |
76 |
- dev-python/requests-unixsocket[${PYTHON_USEDEP}] |
77 |
- ) |
78 |
- " |
79 |
- |
80 |
-PATCHES=( |
81 |
- "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch |
82 |
-) |
83 |
- |
84 |
-distutils_enable_tests pytest |
85 |
- |
86 |
-python_prepare_all() { |
87 |
- # disable bundled mathjax |
88 |
- sed -i 's/^.*MathJax.*$//' bower.json || die |
89 |
- |
90 |
- # require geckodriver |
91 |
- rm -r notebook/tests/selenium || die |
92 |
- # trash doesn't seem to work for us |
93 |
- sed -e 's:test_delete:_&:' \ |
94 |
- -i notebook/services/contents/tests/test_manager.py || die |
95 |
- sed -e 's:test_checkpoints_follow_file:_&:' \ |
96 |
- -e 's:test_delete:_&:' \ |
97 |
- -i notebook/services/contents/tests/test_contents_api.py || die |
98 |
- # network-sandbox? |
99 |
- sed -e 's:test_connections:_&:' \ |
100 |
- -e 's:test_culling:_&:' \ |
101 |
- -i notebook/services/kernels/tests/test_kernels_api.py || die |
102 |
- |
103 |
- sed -i -e "/'bdist_egg':/d" setup.py || die |
104 |
- |
105 |
- distutils-r1_python_prepare_all |
106 |
-} |
107 |
- |
108 |
-python_test() { |
109 |
- distutils_install_for_testing |
110 |
- local -x PATH=${TEST_DIR}/scripts:${PATH} |
111 |
- pytest -vv || die "Tests failed with ${EPYTHON}" |
112 |
-} |
113 |
- |
114 |
-python_install() { |
115 |
- distutils-r1_python_install |
116 |
- |
117 |
- ln -sf \ |
118 |
- "${EPREFIX}/usr/share/mathjax" \ |
119 |
- "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die |
120 |
-} |
121 |
- |
122 |
-pkg_preinst() { |
123 |
- # remove old mathjax folder if present |
124 |
- rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die |
125 |
-} |
126 |
|
127 |
diff --git a/dev-python/notebook/notebook-6.1.5.ebuild b/dev-python/notebook/notebook-6.1.5.ebuild |
128 |
deleted file mode 100644 |
129 |
index a484e7f04af..00000000000 |
130 |
--- a/dev-python/notebook/notebook-6.1.5.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,93 +0,0 @@ |
133 |
-# Copyright 1999-2020 Gentoo Authors |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
- |
136 |
-EAPI=7 |
137 |
- |
138 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
139 |
-PYTHON_COMPAT=( python3_{7..9} ) |
140 |
-PYTHON_REQ_USE="threads(+)" |
141 |
- |
142 |
-inherit distutils-r1 |
143 |
- |
144 |
-DESCRIPTION="Jupyter Interactive Notebook" |
145 |
-HOMEPAGE="https://jupyter.org" |
146 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
147 |
- |
148 |
-LICENSE="BSD" |
149 |
-SLOT="0" |
150 |
-KEYWORDS="amd64 ~arm64 x86" |
151 |
- |
152 |
-RDEPEND=" |
153 |
- >=dev-libs/mathjax-2.4 |
154 |
- dev-python/argon2-cffi[${PYTHON_USEDEP}] |
155 |
- dev-python/jinja[${PYTHON_USEDEP}] |
156 |
- >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
157 |
- >=www-servers/tornado-5.0[${PYTHON_USEDEP}] |
158 |
- dev-python/ipython_genutils[${PYTHON_USEDEP}] |
159 |
- >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] |
160 |
- >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}] |
161 |
- >=dev-python/pyzmq-17[${PYTHON_USEDEP}] |
162 |
- >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] |
163 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
164 |
- >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}] |
165 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
166 |
- dev-python/send2trash[${PYTHON_USEDEP}] |
167 |
- dev-python/prometheus_client[${PYTHON_USEDEP}]" |
168 |
- |
169 |
-# sphinx 2+ seems to have a problem with its github plugin. temporarily adding |
170 |
-# a version constraint. |
171 |
-BDEPEND=" |
172 |
- test? ( |
173 |
- dev-python/nose[${PYTHON_USEDEP}] |
174 |
- dev-python/nose_warnings_filters[${PYTHON_USEDEP}] |
175 |
- dev-python/requests[${PYTHON_USEDEP}] |
176 |
- dev-python/requests-unixsocket[${PYTHON_USEDEP}] |
177 |
- ) |
178 |
- " |
179 |
- |
180 |
-PATCHES=( |
181 |
- "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch |
182 |
-) |
183 |
- |
184 |
-distutils_enable_tests pytest |
185 |
- |
186 |
-python_prepare_all() { |
187 |
- # disable bundled mathjax |
188 |
- sed -i 's/^.*MathJax.*$//' bower.json || die |
189 |
- |
190 |
- # require geckodriver |
191 |
- rm -r notebook/tests/selenium || die |
192 |
- # trash doesn't seem to work for us |
193 |
- sed -e 's:test_delete:_&:' \ |
194 |
- -i notebook/services/contents/tests/test_manager.py || die |
195 |
- sed -e 's:test_checkpoints_follow_file:_&:' \ |
196 |
- -e 's:test_delete:_&:' \ |
197 |
- -i notebook/services/contents/tests/test_contents_api.py || die |
198 |
- # network-sandbox? |
199 |
- sed -e 's:test_connections:_&:' \ |
200 |
- -e 's:test_culling:_&:' \ |
201 |
- -i notebook/services/kernels/tests/test_kernels_api.py || die |
202 |
- |
203 |
- sed -i -e "/'bdist_egg':/d" setup.py || die |
204 |
- |
205 |
- distutils-r1_python_prepare_all |
206 |
-} |
207 |
- |
208 |
-python_test() { |
209 |
- distutils_install_for_testing |
210 |
- local -x PATH=${TEST_DIR}/scripts:${PATH} |
211 |
- pytest -vv || die "Tests failed with ${EPYTHON}" |
212 |
-} |
213 |
- |
214 |
-python_install() { |
215 |
- distutils-r1_python_install |
216 |
- |
217 |
- ln -sf \ |
218 |
- "${EPREFIX}/usr/share/mathjax" \ |
219 |
- "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die |
220 |
-} |
221 |
- |
222 |
-pkg_preinst() { |
223 |
- # remove old mathjax folder if present |
224 |
- rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die |
225 |
-} |