commit:     8fec64971e73bd44d328df54cdfc9b686e53d6ef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 12:57:36 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 13:38:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fec6497

dev-python/jupyterlab-server: Bump to 2.22.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jupyterlab-server/Manifest              |  1 +
 .../jupyterlab-server-2.22.0.ebuild                | 69 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-python/jupyterlab-server/Manifest 
b/dev-python/jupyterlab-server/Manifest
index 01ef8c4e4a05..5e9b0e70251a 100644
--- a/dev-python/jupyterlab-server/Manifest
+++ b/dev-python/jupyterlab-server/Manifest
@@ -1,2 +1,3 @@
 DIST jupyterlab_server-2.20.0.tar.gz 70481 BLAKE2B 
188b8a9bd2bfc5a27ce6f8488d7768484fd71ae8bb93f28c8a49f63b1aef13551c55d7e18531830df26617883f6b780a491d3522a0dcb3ecddcc433cfb35f97b
 SHA512 
7d9a86f56686344ffc1ad11a9fc7c736a2ac0e6b8c31f8b6d8e35e5fd982454b2362073038dfc2ed3a4f03ef53e2afcaa33fc2c956b63e44c3d1ae6efa1f9251
 DIST jupyterlab_server-2.21.0.tar.gz 70965 BLAKE2B 
bb959d2c5a507ac6ad2ed719e86a68590c51df51a126f8a44195c48ccb9a295ca0930d0c106cc9f753b3032aca4002d4edadf31f24602d22bf9d3be3eabe2fdb
 SHA512 
c3180983e6db932a4f243e977aaa0d7e7daed34788ba3a51d1414c5b625008ec524e0bf96a559bd85279146f9bd02c31eb2ac3451c40edba1751ed695c7c0791
+DIST jupyterlab_server-2.22.0.tar.gz 71374 BLAKE2B 
da27d6fb6d22db4aacd4c6c7a96ca748c5ba95d6b357fb45aa3383642b23bff7b61298eb01b8a80073080248e06fae35e04b1a7e4144018e84a6b548937ad0e6
 SHA512 
96484afe03a23f4aa6492b15e64b3f874b144af371d65c94693b708f9152e2762f98f0dea2b7464f8240740f4be56b2cd61a8869ef001521bbb4748dd0fc7005

diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.22.0.ebuild 
b/dev-python/jupyterlab-server/jupyterlab-server-2.22.0.ebuild
new file mode 100644
index 000000000000..b3b9f406c2a3
--- /dev/null
+++ b/dev-python/jupyterlab-server/jupyterlab-server-2.22.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=hatchling
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Server components for JupyterLab and JupyterLab like applications"
+HOMEPAGE="
+       https://jupyter.org/
+       https://github.com/jupyterlab/jupyterlab_server/
+       https://pypi.org/project/jupyterlab-server/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       >=dev-python/Babel-2.10[${PYTHON_USEDEP}]
+       >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
+       >=dev-python/json5-0.9.0[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}]
+       >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.28[${PYTHON_USEDEP}]
+       >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}]
+       <dev-python/jupyter-server-3[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}]
+       ' 3.9)
+"
+
+BDEPEND="
+       test? (
+               dev-python/ipykernel[${PYTHON_USEDEP}]
+               dev-python/jupyter-server[${PYTHON_USEDEP}]
+               <dev-python/openapi-core-0.17[${PYTHON_USEDEP}]
+               >=dev-python/openapi-core-0.16.1[${PYTHON_USEDEP}]
+               <dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}]
+               >=dev-python/openapi-spec-validator-0.5.1[${PYTHON_USEDEP}]
+               dev-python/pytest-jupyter[${PYTHON_USEDEP}]
+               dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+               dev-python/pytest-timeout[${PYTHON_USEDEP}]
+               dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+               dev-python/strict-rfc3339[${PYTHON_USEDEP}]
+               dev-python/requests-mock[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+# TODO: package autodoc_traits
+#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme 
dev-python/myst-parser
+
+python_test() {
+       local EPYTEST_IGNORE=(
+               tests/test_translation_api.py
+       )
+
+       EPYTEST_DESELECT=(
+               # Fails if terminal not available
+               tests/test_labapp.py::test_page_config
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -p pytest_tornasync.plugin
+}

Reply via email to