1 |
commit: c489f1c82c631b0d95eb9f305823368a7ca3a3e4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 07:44:08 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 08:12:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c489f1c8 |
7 |
|
8 |
dev-python/jupyter_server: Bump to 1.12.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jupyter_server/Manifest | 1 + |
13 |
.../jupyter_server/jupyter_server-1.12.0.ebuild | 59 ++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest |
17 |
index 0fc23026facf..d82cbafbbcea 100644 |
18 |
--- a/dev-python/jupyter_server/Manifest |
19 |
+++ b/dev-python/jupyter_server/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jupyter_server-1.11.1.tar.gz 420035 BLAKE2B 0676b0e126752ebeaa45e2325c34fe787756265f5ad35e356660485e5e7fd98a9ecaa029badf4c45815f25425e5a8a44133b6595698dca212f871b898c6ef76c SHA512 537bb9dbacabe396761a17be3280ecc0d28d63116a72386a7ff69bd8467f38909b7c2491eeb1f6b8bb7618b7fe661cd583d9efb8597ecbe88941c35096e0b1a8 |
22 |
+DIST jupyter_server-1.12.0.tar.gz 422318 BLAKE2B 9aa4843d02bfd918b0df13d94fc0058e6a6dee74f634dac359f7f6b4ca85e6cd4f91e8ddafb873647cd672284fb3eff087e05c3fcb6eff1621c7beb4b99030ee SHA512 28de049051852ae5d2bc10f2a0643a1441c2df3c229348e8d45e7031cc1c85a118124bc0b3bf7f101fd912ee25cd9cbf3e9b1b633fee20d70f43152e1e03e12c |
23 |
|
24 |
diff --git a/dev-python/jupyter_server/jupyter_server-1.12.0.ebuild b/dev-python/jupyter_server/jupyter_server-1.12.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..50269cac749e |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jupyter_server/jupyter_server-1.12.0.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" |
39 |
+HOMEPAGE="https://jupyter.org" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
48 |
+ >=www-servers/tornado-6.1[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/pyzmq-17[${PYTHON_USEDEP}] |
50 |
+ dev-python/argon2-cffi[${PYTHON_USEDEP}] |
51 |
+ dev-python/ipython_genutils[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jupyter_core-4.6.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] |
55 |
+ dev-python/nbformat[${PYTHON_USEDEP}] |
56 |
+ dev-python/nbconvert[${PYTHON_USEDEP}] |
57 |
+ dev-python/send2trash[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
59 |
+ dev-python/prometheus_client[${PYTHON_USEDEP}] |
60 |
+ dev-python/anyio[${PYTHON_USEDEP}] |
61 |
+ dev-python/websocket-client[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
66 |
+ dev-python/requests[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
68 |
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}] |
69 |
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
70 |
+ )" |
71 |
+ |
72 |
+# TODO: Package 'myst_parser' |
73 |
+# distutils_enable_sphinx docs/source |
74 |
+# dev-python/pydata-sphinx-theme |
75 |
+distutils_enable_tests --install pytest |
76 |
+ |
77 |
+python_prepare_all() { |
78 |
+ # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: |
79 |
+ mv jupyter_server/conftest.py . || die |
80 |
+ |
81 |
+ # This fails if your terminal is zsh (and maybe other non-bash as well?) |
82 |
+ sed -i \ |
83 |
+ -e 's:est_terminal_create_with_cwd:_&:' \ |
84 |
+ -e 's:test_culling:_&:' \ |
85 |
+ jupyter_server/tests/test_terminal.py || die |
86 |
+ |
87 |
+ distutils-r1_python_prepare_all |
88 |
+} |