Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyterlab_server/
Date: Mon, 31 Oct 2022 15:49:26
Message-Id: 1667231350.8969cf80efa4fc7a8a47f6948409db9a61bc53c4.mgorny@gentoo
1 commit: 8969cf80efa4fc7a8a47f6948409db9a61bc53c4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 14:59:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 15:49:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8969cf80
7
8 dev-python/jupyterlab_server: Bump to 2.16.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jupyterlab_server/Manifest | 1 +
13 .../jupyterlab_server-2.16.2.ebuild | 62 ++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest
17 index bcdd1617e2b3..618ddcc8f50e 100644
18 --- a/dev-python/jupyterlab_server/Manifest
19 +++ b/dev-python/jupyterlab_server/Manifest
20 @@ -1,2 +1,3 @@
21 DIST jupyterlab_server-2.16.0.tar.gz 62546 BLAKE2B ce8c1d8aa906d61ebdfccbcdd851a26df09c39a4dbdbe84297889b6a28960eb7616de049b6a6cab6188ae4392535f1e45f60f4699b52ce9eea4071c9b89d7745 SHA512 13df24cf3b77d74b64cbacb6d0d9f385e2e09adc77dc223a0ebaa56585c29f7fcf3f91c0091c4d3354dc0059ba1126cf813c74119f3c8f6a6244b9d1f0ab43e2
22 DIST jupyterlab_server-2.16.1.tar.gz 64634 BLAKE2B 05d71b229b9e226bcae409028ff97fa6313662b506171ee5fcb3d8a0cb29c6339f5a54ce91a31b251e969d1418d1a6ede61ccefb1be5412f35bbe51d34378fcf SHA512 3841463b56adcca2d65a9943e04c084fef47b208b46012c9e01a3f91d58058d0bc8e0e97dd1c794ebc7963fc7106f4965524ba293268bb4e7a2e41158a7c54cf
23 +DIST jupyterlab_server-2.16.2.tar.gz 64742 BLAKE2B 73b3c1f7080134e30d9e0d38af9ef8f5e4161a11d1a08e6d638ffdccd4def0f7fb7b16c8ef1e9191542e27267f2e47a8a21bf53dc103c4c79c32b9722252095d SHA512 d7229343994d78ae2ff0d5cdfa2670f23f221ab2bfd009351c5a8a5611b0dd04c47eb5c899a4155712322f3c3f74fcbcbb3a687cdc737382bc3eabca6d69c527
24
25 diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.16.2.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.16.2.ebuild
26 new file mode 100644
27 index 000000000000..a3afe0f0c7c4
28 --- /dev/null
29 +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.16.2.ebuild
30 @@ -0,0 +1,62 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +DISTUTILS_USE_PEP517=hatchling
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications"
42 +HOMEPAGE="
43 + https://jupyter.org/
44 + https://github.com/jupyterlab/jupyterlab_server/
45 + https://pypi.org/project/jupyterlab-server/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +
53 +RDEPEND="
54 + dev-python/Babel[${PYTHON_USEDEP}]
55 + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
56 + dev-python/json5[${PYTHON_USEDEP}]
57 + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}]
58 + dev-python/packaging[${PYTHON_USEDEP}]
59 + dev-python/requests[${PYTHON_USEDEP}]
60 + >=dev-python/jupyter_server-1.8[${PYTHON_USEDEP}]
61 + <dev-python/jupyter_server-3[${PYTHON_USEDEP}]
62 + $(python_gen_cond_dep '
63 + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}]
64 + ' 3.8 3.9)
65 +"
66 +
67 +BDEPEND="
68 + test? (
69 + dev-python/ipykernel[${PYTHON_USEDEP}]
70 + dev-python/jupyter_server[${PYTHON_USEDEP}]
71 + >=dev-python/openapi-core-0.14.2[${PYTHON_USEDEP}]
72 + <dev-python/openapi-core-0.15[${PYTHON_USEDEP}]
73 + dev-python/openapi-spec-validator[${PYTHON_USEDEP}]
74 + dev-python/pytest-tornasync[${PYTHON_USEDEP}]
75 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
76 + dev-python/ruamel-yaml[${PYTHON_USEDEP}]
77 + dev-python/strict-rfc3339[${PYTHON_USEDEP}]
78 + )
79 +"
80 +
81 +distutils_enable_tests pytest
82 +# TODO: package autodoc_traits
83 +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst_parser
84 +
85 +python_test() {
86 + local EPYTEST_IGNORE=(
87 + tests/test_translation_api.py
88 + )
89 +
90 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
91 + epytest -p pytest_tornasync.plugin
92 +}