1 |
commit: d6073db968d2fa06c6dfc03ba15c930e06a6276c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 29 05:01:34 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 05:12:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6073db9 |
7 |
|
8 |
dev-python/jupyter_server: Bump to 2.0.6 |
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-2.0.6.ebuild | 72 ++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest |
17 |
index b5ac4789890a..9467344a7a75 100644 |
18 |
--- a/dev-python/jupyter_server/Manifest |
19 |
+++ b/dev-python/jupyter_server/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 |
22 |
DIST jupyter_server-2.0.1.tar.gz 680584 BLAKE2B 06ec85e0088f3ab7d08935b2b085c96d4ce9b787895a573024f64af48b78a7c99bbe8fa8330f8536b55d32fd7321a5cb56958a55a6044aec687107d13dce9db0 SHA512 c8d676da5af479ca0492c94615b01f9d2efb0d8e3aefa78437c44997409afeef1eaf7e269ce48047597d83cc82a26602108db17eacddca73179e9042ee145afa |
23 |
DIST jupyter_server-2.0.5.tar.gz 682705 BLAKE2B ea83b74c105fe7337dfafd725a7f6989b440a7124be73f854900d578439b5a3f0f5056e39056ce28ee07611b742afb4c4b1d1352f123125d4d7080269f217a94 SHA512 6e2af05c1cc6875fd32158bbd70a55f7a05e18af7b264d7d3e966d3d8c1c515927e86a0763e5734bca90b57119183d1ad4e10c44a47d929c6d62b15f78cc18f0 |
24 |
+DIST jupyter_server-2.0.6.tar.gz 686312 BLAKE2B dfa309146e74c646ab28f31a4a7293d2b658771077240179aebd13176151c982035649acf3b78c86ddb06e914e3342e5894fb55f8b8711cb493a6a7c4b259cfa SHA512 186b41b13cc727d0674a49abcb9b3a9aa5b898f0e9e42124e46e862ec62528b4127b159a30352f33e6b91321f1dd3f086f82dca72d5616755bcf3220d154faa6 |
25 |
|
26 |
diff --git a/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..2b15b9a6e42a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/jupyter_server/jupyter_server-2.0.6.ebuild |
31 |
@@ -0,0 +1,72 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=hatchling |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" |
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 ~arm64 ~ppc ~ppc64" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] |
52 |
+ <dev-python/anyio-4[${PYTHON_USEDEP}] |
53 |
+ dev-python/argon2-cffi[${PYTHON_USEDEP}] |
54 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
61 |
+ dev-python/prometheus_client[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/pyzmq-24[${PYTHON_USEDEP}] |
63 |
+ dev-python/send2trash[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] |
67 |
+ dev-python/websocket-client[${PYTHON_USEDEP}] |
68 |
+ |
69 |
+" |
70 |
+BDEPEND=" |
71 |
+ test? ( |
72 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
73 |
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
74 |
+ dev-python/pytest_jupyter[${PYTHON_USEDEP}] |
75 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
76 |
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}] |
77 |
+ dev-python/requests[${PYTHON_USEDEP}] |
78 |
+ ) |
79 |
+" |
80 |
+ |
81 |
+distutils_enable_tests pytest |
82 |
+ |
83 |
+EPYTEST_DESELECT=( |
84 |
+ # This fails if your terminal is zsh (and maybe other non-bash as well?) |
85 |
+ tests/test_terminal.py |
86 |
+ # Fails because above is ignored |
87 |
+ tests/auth/test_authorizer.py |
88 |
+ # Fails with additional extensions installed |
89 |
+ tests/extension/test_app.py::test_stop_extension |
90 |
+) |
91 |
+ |
92 |
+PATCHES=( |
93 |
+ "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" |
94 |
+) |
95 |
+ |
96 |
+python_test() { |
97 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
98 |
+ epytest \ |
99 |
+ -p pytest_tornasync.plugin \ |
100 |
+ -p jupyter_server.pytest_plugin \ |
101 |
+ -p pytest_console_scripts \ |
102 |
+ -p pytest_timeout |
103 |
+} |