1 |
commit: 06c9a3abb939c99cb220d77cc65e657ae51eb255 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 18:10:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 18:32:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c9a3ab |
7 |
|
8 |
dev-python/jupyter_server: Bump to 1.19.1 |
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.19.1.ebuild | 76 ++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest |
17 |
index 0f8ae1aeb44c..ba20c88c5939 100644 |
18 |
--- a/dev-python/jupyter_server/Manifest |
19 |
+++ b/dev-python/jupyter_server/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST jupyter_server-1.18.1.tar.gz 451117 BLAKE2B ac9088f8f5c5afa6455f41b4006c0d49286006574101b42dd8e28501c97dcf10d7ee534d54b8cf26a8f34c7d2ba446485ce273ce04e22c39a22e5346d55ea4f5 SHA512 7acf101f337af903318de263dcf78cf3b45b799bb6095bc79568fde7f3f56ca508d39a1d40ffe2a4ab0bdc0173f0ee2f4a7426f41e0855c1b7f9dfd86f7e6d73 |
22 |
DIST jupyter_server-1.19.0.tar.gz 453227 BLAKE2B c411ea965bd1948cfff488be278e9d6d4374482f0017e8e6f0b557628f1b571735008db3217035344ee1d38bed45e9c74c16fb365899408e0565d31740ee1a78 SHA512 ba1316418662bf465f5252de97efa58ecea237b51dfd83b17643176f95382d47759b88a2a79945e6bbf688dcdb3f99d091a035ab0a8a04706c6e6ba0c8a7fcc8 |
23 |
+DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 |
24 |
|
25 |
diff --git a/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild b/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..296736ccc44c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/jupyter_server/jupyter_server-1.19.1.ebuild |
30 |
@@ -0,0 +1,76 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=jupyter |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" |
42 |
+HOMEPAGE="https://jupyter.org" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] |
51 |
+ <dev-python/anyio-4[${PYTHON_USEDEP}] |
52 |
+ dev-python/argon2-cffi[${PYTHON_USEDEP}] |
53 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/jupyter_core-4.7.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/nbformat-5.2.0[${PYTHON_USEDEP}] |
58 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
59 |
+ dev-python/prometheus_client[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pyzmq-17[${PYTHON_USEDEP}] |
61 |
+ dev-python/send2trash[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/tornado-6.1[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] |
65 |
+ dev-python/websocket-client[${PYTHON_USEDEP}] |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ test? ( |
69 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
72 |
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}] |
73 |
+ dev-python/requests[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+distutils_enable_sphinx docs/source \ |
78 |
+ dev-python/pydata-sphinx-theme \ |
79 |
+ dev-python/myst_parser \ |
80 |
+ dev-python/ipython \ |
81 |
+ dev-python/sphinxemoji \ |
82 |
+ dev-python/sphinxcontrib-github-alt \ |
83 |
+ dev-python/sphinxcontrib-openapi |
84 |
+distutils_enable_tests pytest |
85 |
+ |
86 |
+EPYTEST_DESELECT=( |
87 |
+ # This fails if your terminal is zsh (and maybe other non-bash as well?) |
88 |
+ tests/test_terminal.py::test_culling |
89 |
+ tests/test_terminal.py::test_terminal_create_with_cwd |
90 |
+ tests/test_terminal.py::test_terminal_create_with_relative_cwd |
91 |
+) |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ # disable npm use |
95 |
+ sed -i -e '/\[tool\.jupyter-packaging\.builder\]/,+1d' pyproject.toml || die |
96 |
+ distutils-r1_src_prepare |
97 |
+} |
98 |
+ |
99 |
+python_test() { |
100 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
101 |
+ epytest \ |
102 |
+ -p pytest_tornasync.plugin \ |
103 |
+ -p jupyter_server.pytest_plugin \ |
104 |
+ -p pytest_console_scripts \ |
105 |
+ -p pytest_timeout |
106 |
+} |