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