Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyterlab_server/
Date: Tue, 27 Sep 2022 06:00:37
Message-Id: 1664258421.01c980ec721e870cfdd906c98b2bc574a7a0d43b.arthurzam@gentoo
1 commit: 01c980ec721e870cfdd906c98b2bc574a7a0d43b
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 27 05:57:42 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 06:00:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c980ec
7
8 dev-python/jupyterlab_server: add 2.15.2
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/jupyterlab_server/Manifest | 1 +
13 .../jupyterlab_server-2.15.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 e66a9d51a509..70239287657b 100644
18 --- a/dev-python/jupyterlab_server/Manifest
19 +++ b/dev-python/jupyterlab_server/Manifest
20 @@ -1,3 +1,4 @@
21 DIST jupyterlab_server-2.14.0.tar.gz 62704 BLAKE2B 93277a6880a9395622e6c0ec1da9522c5e30e7a8144c8629de89f45845964008f0a435ec84289efe56043c8ebb998ea65df1d09f3da72096f255fcafa29fab53 SHA512 21ecf749879663378d865bd06161fb3e331f3675038917e405df0cb77d4a4cec55340a35d6511676fa4d91ecaedcd1e7f8aec3a13ad3a39298d10911ab215cc6
22 DIST jupyterlab_server-2.15.0.tar.gz 61443 BLAKE2B 48ead96f13caf747cc14f7d65dc6104822dcd0fe17315a2cee4111598b40f05119998f169aef90411e84fe24e8f09736c857325752cfa3f22047acb2a9e2e3c1 SHA512 27530b293ad7c171b280a4c165d7f983c85238c4cb0bc89bb2eda8493b2988f047045c842ba456df9d0bfef00b5ee28b061c537ef6293d726c3a4f3d6572727c
23 DIST jupyterlab_server-2.15.1.tar.gz 62345 BLAKE2B 14d82bc9cc7566312c4f434b78f396bb822f150653e3be6f1e328d620d1d8b205a8dca8c0b4a1e84a52562e04f76cb63154fd1b58f45da3a4f787a32468595cc SHA512 b4fba8a09562a70a705170406b69cbfaad4fcee290ca74e7949155698af616e4ce650a75c06bfa613e1a307980a4769418587ccf33a964868053ded9a7648095
24 +DIST jupyterlab_server-2.15.2.tar.gz 62533 BLAKE2B 46df68a0f1500e1b4520817ee63042194e65e72fb9d63058bc18effad1668e19733e6a1d5edbd2ec6e07c4c932c2901d974f787455142404f8162d2a83205f68 SHA512 670b9cb3a982d832225a7e632dda57000044a5a4b86f4d0c308cc20c1ad8db09216ae3918af52209dd3bfb04d34c807fca7060208db239b52ef9f29b92943ead
25
26 diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.15.2.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.15.2.ebuild
27 new file mode 100644
28 index 000000000000..15eb6bab4bf3
29 --- /dev/null
30 +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.15.2.ebuild
31 @@ -0,0 +1,62 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +DISTUTILS_USE_PEP517=hatchling
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications"
43 +HOMEPAGE="
44 + https://jupyter.org/
45 + https://github.com/jupyterlab/jupyterlab_server/
46 + https://pypi.org/project/jupyterlab-server/
47 +"
48 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
49 +
50 +LICENSE="BSD"
51 +SLOT="0"
52 +KEYWORDS="~amd64"
53 +
54 +RDEPEND="
55 + dev-python/Babel[${PYTHON_USEDEP}]
56 + >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}]
57 + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
58 + dev-python/json5[${PYTHON_USEDEP}]
59 + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}]
60 + dev-python/packaging[${PYTHON_USEDEP}]
61 + dev-python/requests[${PYTHON_USEDEP}]
62 + >=dev-python/jupyter_server-1.8[${PYTHON_USEDEP}]
63 + <dev-python/jupyter_server-2[${PYTHON_USEDEP}]
64 +"
65 +
66 +BDEPEND="
67 + test? (
68 + dev-python/ipykernel[${PYTHON_USEDEP}]
69 + dev-python/jupyter_server[${PYTHON_USEDEP}]
70 + >=dev-python/openapi-core-0.14.2[${PYTHON_USEDEP}]
71 + <dev-python/openapi-core-0.15[${PYTHON_USEDEP}]
72 + dev-python/openapi-spec-validator[${PYTHON_USEDEP}]
73 + dev-python/pytest-console-scripts[${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_prepare_all() {
86 + # This seems to not work for us, can only find english
87 + rm tests/test_translation_api.py || die
88 +
89 + # Do not depend on pytest-cov
90 + sed -i -e '/addopts/d' pyproject.toml || die
91 +
92 + distutils-r1_python_prepare_all
93 +}