commit:     92a0c6a15c75131391978c38829dec3323bd1e15
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May  7 01:46:34 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May  7 01:46:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a0c6a1

dev-python/jupyterlab: Bump to 4.2.0

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

 dev-python/jupyterlab/Manifest                |  1 +
 dev-python/jupyterlab/jupyterlab-4.2.0.ebuild | 80 +++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest
index 349666f1e7cf..526c4d6c4b02 100644
--- a/dev-python/jupyterlab/Manifest
+++ b/dev-python/jupyterlab/Manifest
@@ -1,3 +1,4 @@
 DIST jupyterlab-4.1.6.tar.gz 21773628 BLAKE2B 
b2855ecc4fa0cc892fab9bb79c19a3cec0ea577c9c490571ad4028e9fe35bca87fc61d0035cc889bee14313475825344e1cea69f34af4a908c5d2a304250d983
 SHA512 
b895aac68c6df3affb47eaebc243ecf7d778228a5adec8b8a047783e341008ab4beb0fe50b92138f765e7a72acfbe906f63f41aebe1a72544fe3030105d52716
 DIST jupyterlab-4.1.7.tar.gz 21773423 BLAKE2B 
6456011cd841b0c61b09ecd647443cd68abc4a48151ddeab6b5834f22fd99616470a70fc68897a8b46cb32873a49c3f950006eff80facd6e109d337be5d95569
 SHA512 
01c8b1a496c621d387a8b03c8705c1807f9f18d09be30aa3327a9beac1fa97b23df02f518490d984ac022f1265a55104d7db69ca69a79941c526b50946c8d20b
 DIST jupyterlab-4.1.8.tar.gz 21774267 BLAKE2B 
d707257b2f7c53c023fa0e2741ff1ddbb83116c1b8cc8136b550c94120737161c519c4a2e67211fff275267ab31c58e58b17ea6041e9ba00d44baa1919876f1e
 SHA512 
376b9a9b154b70716ca8450126b9623932b44c88b1a83e42fadc4b98f5a3dd3982d77ae9fc807f483fbd84615c184dd8c170297002c9f609b81755aec21e1ff4
+DIST jupyterlab-4.2.0.tar.gz 21488098 BLAKE2B 
7857d2ba970b095cf2bd47a7786e47e6aa687a189d165fb04f5685b7848cf9647011a7145cd1a2f351c8f2bc4f876217225583749158b803c4899098ec03be7d
 SHA512 
ee3d99ecd27c44ea9f97b6fbef7e5e0571b0371e5e745d56978151332c840247e1e3464a1947d7df72274032d87c6182cd90f1952669693e3ff72e2c03776e04

diff --git a/dev-python/jupyterlab/jupyterlab-4.2.0.ebuild 
b/dev-python/jupyterlab/jupyterlab-4.2.0.ebuild
new file mode 100644
index 000000000000..b655c8c83338
--- /dev/null
+++ b/dev-python/jupyterlab/jupyterlab-4.2.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi xdg
+
+DESCRIPTION="JupyterLab computational environment"
+HOMEPAGE="
+       https://jupyter.org/
+       https://github.com/jupyterlab/jupyterlab/
+       https://pypi.org/project/jupyterlab/
+"
+
+LICENSE="BSD MIT GPL-3 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+       dev-python/async-lru[${PYTHON_USEDEP}]
+       >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}]
+       >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}]
+       >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
+       dev-python/jupyter-core[${PYTHON_USEDEP}]
+       >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}]
+       >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}]
+       <dev-python/jupyter-server-3[${PYTHON_USEDEP}]
+       >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}]
+       <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}]
+       >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}]
+       ' 3.10)
+       >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}]
+       dev-python/traitlets[${PYTHON_USEDEP}]
+       net-libs/nodejs
+"
+
+BDEPEND="
+       dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
+               >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}]
+               dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+               dev-python/pytest-timeout[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-python/requests-cache[${PYTHON_USEDEP}]
+               dev-python/virtualenv[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_DESELECT=(
+       # These tests call npm and want internet
+       
jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension
+       
jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder
+       
jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned
+       
jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config
+       jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom
+       jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check
+       jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build
+       jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear
+       jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build
+)
+
+EPYTEST_IGNORE=(
+       jupyterlab/tests/test_announcements.py
+)
+
+distutils_enable_tests pytest
+# TODO: package sphinx_copybutton
+#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme 
dev-python/myst-parser
+
+python_install_all() {
+       distutils-r1_python_install_all
+       mv "${ED}/usr/etc" "${ED}/etc" || die
+}

Reply via email to