1 |
commit: 4e99c50ca49ea0eb5cccec69d1773a0f664b8b14 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 05:41:07 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 05:41:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e99c50c |
7 |
|
8 |
dev-python/jupyter_server: add 1.18.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/jupyter_server/Manifest | 1 + |
13 |
.../jupyter_server/jupyter_server-1.18.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 241fe77a0b23..20de618ae9a9 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.17.0.tar.gz 445648 BLAKE2B d7e19804b6b4cccb72c0a24febe8702829c2a32768e916a9da09ee9f55a08e360cf2a81c3c4bc535ff342c916155bc0b7933a9b5b49645db2b5f9a58ec02ab3a SHA512 d99d4036698d6f8d5e1258de214e3cbc6239b978314af4af7e722789c950edb1f261b98e666cffb46efdfe97a23c001784cfd29d7bf75c02dae53c2c07476b7f |
22 |
DIST jupyter_server-1.17.1.tar.gz 449682 BLAKE2B ca7a8b57c50a552c20e3c2a6a1318357df87027770bb0f37ee5c6c8db1a99116429ace7f7a28fca9f62728ba8469ce9875dc6f3a4cdf0a447ea8df616dff936f SHA512 bf37188a796e590340589414361e04c8e0f5f81d0e03cf55ad12ef7b59f35708996664da27727824424dadc038b44259a66e55f99c2da4270e727eae615f4e26 |
23 |
DIST jupyter_server-1.18.0.tar.gz 450132 BLAKE2B a378ba3bfdc629d05478c33365b2d6df893b9ce1dc3ce26c78efcbd69b42441ff730ca58a83fb87446d073f849ce5a6c725784a15953fe9bdae119e529fe30c8 SHA512 5a194a9811162774990b125020d75c134ca32ab916c046cf0345a3959868ab7b293c0659bd54c2da91ef5e8bbb9b433f9a6c16d829277d0f34e924c6332fa6c0 |
24 |
+DIST jupyter_server-1.18.1.tar.gz 451117 BLAKE2B ac9088f8f5c5afa6455f41b4006c0d49286006574101b42dd8e28501c97dcf10d7ee534d54b8cf26a8f34c7d2ba446485ce273ce04e22c39a22e5346d55ea4f5 SHA512 7acf101f337af903318de263dcf78cf3b45b799bb6095bc79568fde7f3f56ca508d39a1d40ffe2a4ab0bdc0173f0ee2f4a7426f41e0855c1b7f9dfd86f7e6d73 |
25 |
|
26 |
diff --git a/dev-python/jupyter_server/jupyter_server-1.18.1.ebuild b/dev-python/jupyter_server/jupyter_server-1.18.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7d41175712ea |
29 |
--- /dev/null |
30 |
+++ b/dev-python/jupyter_server/jupyter_server-1.18.1.ebuild |
31 |
@@ -0,0 +1,76 @@ |
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=jupyter |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
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 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
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.7.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/nbformat-5.2.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
60 |
+ dev-python/prometheus_client[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pyzmq-17[${PYTHON_USEDEP}] |
62 |
+ dev-python/send2trash[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] |
64 |
+ >=www-servers/tornado-6.1[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] |
66 |
+ dev-python/websocket-client[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ test? ( |
70 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
72 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
73 |
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}] |
74 |
+ dev-python/requests[${PYTHON_USEDEP}] |
75 |
+ ) |
76 |
+" |
77 |
+ |
78 |
+distutils_enable_sphinx docs/source \ |
79 |
+ dev-python/pydata-sphinx-theme \ |
80 |
+ dev-python/myst_parser \ |
81 |
+ dev-python/ipython \ |
82 |
+ dev-python/sphinxemoji \ |
83 |
+ dev-python/sphinxcontrib-github-alt \ |
84 |
+ dev-python/sphinxcontrib-openapi |
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::test_culling |
90 |
+ tests/test_terminal.py::test_terminal_create_with_cwd |
91 |
+ tests/test_terminal.py::test_terminal_create_with_relative_cwd |
92 |
+) |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ # disable npm use |
96 |
+ sed -i -e '/\[tool\.jupyter-packaging\.builder\]/,+1d' pyproject.toml || die |
97 |
+ distutils-r1_src_prepare |
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 |
+} |