1 |
commit: 9b54c119deac7cdc03648646539a18d809e97817 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 04:16:26 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 04:57:01 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b54c119 |
7 |
|
8 |
dev-python/jupyter_server: Bump to 2.2.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-2.2.0.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 04bb910a76d2..e9a31ff5f233 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.6.tar.gz 686312 BLAKE2B dfa309146e74c646ab28f31a4a7293d2b658771077240179aebd13176151c982035649acf3b78c86ddb06e914e3342e5894fb55f8b8711cb493a6a7c4b259cfa SHA512 186b41b13cc727d0674a49abcb9b3a9aa5b898f0e9e42124e46e862ec62528b4127b159a30352f33e6b91321f1dd3f086f82dca72d5616755bcf3220d154faa6 |
23 |
DIST jupyter_server-2.1.0.tar.gz 688227 BLAKE2B 8bc291d3c35a1eda61cb6eec4e19e42f8477252dddde194f10bfabd2035ca6c0e38a5e37a63ae8979eafa19ea0649c153db65686ec7fb91bc6c48dad8f7e61d4 SHA512 a33741425bc07250bf86e221f1fb330d65bb2984eb2db7bdd454670620f9d774a64f6a7b8ca5894e9ac1c175a3befc1ba2a516e30cde835c3ee29e7770505f6d |
24 |
+DIST jupyter_server-2.2.0.tar.gz 688879 BLAKE2B 07c5adee44bb4c7646c6f49b1108587773d2bdf78393a67a502fde198fc76e84b20385789ae0ab63863781e6f01babdf37462f6d62eeab87d32a9eeba457e03e SHA512 b236234515e066dfb4b68b9f510f123967fe57bfc396ecb2a46b6cc60c35e5b28a5b6eaafc70ae6133d49377e826d71994249b10665fd4c56fe7f248397cb777 |
25 |
|
26 |
diff --git a/dev-python/jupyter_server/jupyter_server-2.2.0.ebuild b/dev-python/jupyter_server/jupyter_server-2.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..5b3fe1a3572f |
29 |
--- /dev/null |
30 |
+++ b/dev-python/jupyter_server/jupyter_server-2.2.0.ebuild |
31 |
@@ -0,0 +1,76 @@ |
32 |
+# Copyright 1999-2023 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_{9..11} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" |
43 |
+HOMEPAGE=" |
44 |
+ https://jupyter.org/ |
45 |
+ https://github.com/jupyter-server/jupyter_server/ |
46 |
+ https://pypi.org/project/jupyter-server/ |
47 |
+" |
48 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] |
56 |
+ <dev-python/anyio-4[${PYTHON_USEDEP}] |
57 |
+ dev-python/argon2-cffi[${PYTHON_USEDEP}] |
58 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/jupyter_core-5.1.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] |
64 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
65 |
+ dev-python/prometheus_client[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/pyzmq-24[${PYTHON_USEDEP}] |
67 |
+ dev-python/send2trash[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] |
71 |
+ dev-python/websocket-client[${PYTHON_USEDEP}] |
72 |
+ |
73 |
+" |
74 |
+BDEPEND=" |
75 |
+ test? ( |
76 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
77 |
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
78 |
+ dev-python/pytest_jupyter[${PYTHON_USEDEP}] |
79 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
80 |
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}] |
81 |
+ dev-python/requests[${PYTHON_USEDEP}] |
82 |
+ ) |
83 |
+" |
84 |
+ |
85 |
+distutils_enable_tests pytest |
86 |
+ |
87 |
+EPYTEST_DESELECT=( |
88 |
+ # This fails if your terminal is zsh (and maybe other non-bash as well?) |
89 |
+ tests/test_terminal.py |
90 |
+ # Fails because above is ignored |
91 |
+ tests/auth/test_authorizer.py |
92 |
+ # Fails with additional extensions installed |
93 |
+ tests/extension/test_app.py::test_stop_extension |
94 |
+) |
95 |
+ |
96 |
+PATCHES=( |
97 |
+ "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" |
98 |
+) |
99 |
+ |
100 |
+python_test() { |
101 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
102 |
+ epytest \ |
103 |
+ -p pytest_tornasync.plugin \ |
104 |
+ -p jupyter_server.pytest_plugin \ |
105 |
+ -p pytest_console_scripts \ |
106 |
+ -p pytest_timeout |
107 |
+} |