Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyterlab/
Date: Wed, 31 Aug 2022 09:45:12
Message-Id: 1661939097.00bf6e770ab0130633e8b46e5a9930fca8543494.andrewammerlaan@gentoo
1 commit: 00bf6e770ab0130633e8b46e5a9930fca8543494
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 09:39:15 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 09:44:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00bf6e77
7
8 dev-python/jupyterlab: add 3.4.5
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/jupyterlab/Manifest | 1 +
13 dev-python/jupyterlab/jupyterlab-3.4.5.ebuild | 69 +++++++++++++++++++++++++++
14 2 files changed, 70 insertions(+)
15
16 diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest
17 index db3f63fcddeb..8097140e6b27 100644
18 --- a/dev-python/jupyterlab/Manifest
19 +++ b/dev-python/jupyterlab/Manifest
20 @@ -1 +1,2 @@
21 DIST jupyterlab-3.4.3.tar.gz 17074198 BLAKE2B 08a0aa4ddaeb6b48a742ef78e1b8cefb95fbf89ec077a1f3687c4498b7c4dbdd50e1773194c4f3c2e21d36a2010dcbcf2be0141df9383b2d05159bcb7f99ab9c SHA512 27c8d6b6636e14ea9a500764ea97b6ef16a1580728077264b662cc23b0e34ac0fd9eebe1eb5a79a64b18a2d93acc996553a6152fa135e2688b5eae21d184da57
22 +DIST jupyterlab-3.4.5.tar.gz 17108960 BLAKE2B 83f4e99a1f98265df50857988dcd011862a0be4212abd8217cc330b3b536f5c7de2486f5c19e692c78eb8305f73c11a11772b510847ec25d756c81c828425ce3 SHA512 17428899b577a9e661ea755e3d6e2e3d640ca4ae28cd51e197520b9a388088e2a0d52a799f14b128d94f0c1ee2ec7580e309586c63e1d2e3b6019ae1075abc1c
23
24 diff --git a/dev-python/jupyterlab/jupyterlab-3.4.5.ebuild b/dev-python/jupyterlab/jupyterlab-3.4.5.ebuild
25 new file mode 100644
26 index 000000000000..97957acc4923
27 --- /dev/null
28 +++ b/dev-python/jupyterlab/jupyterlab-3.4.5.ebuild
29 @@ -0,0 +1,69 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +DISTUTILS_USE_PEP517=jupyter
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="JupyterLab computational environment"
40 +HOMEPAGE="https://jupyter.org/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD MIT GPL-3 Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +BDEPEND="dev-python/jupyter_packaging[${PYTHON_USEDEP}]"
48 +
49 +RDEPEND="
50 + dev-python/ipython[${PYTHON_USEDEP}]
51 + dev-python/packaging[${PYTHON_USEDEP}]
52 + dev-python/jupyter_core[${PYTHON_USEDEP}]
53 + >=dev-python/jupyterlab_server-2.10[${PYTHON_USEDEP}]
54 + >=dev-python/jupyter_server-1.16[${PYTHON_USEDEP}]
55 + >=dev-python/nbclassic-0.2[${PYTHON_USEDEP}]
56 + <dev-python/notebook-7[${PYTHON_USEDEP}]
57 + >=dev-python/jinja-2.1[${PYTHON_USEDEP}]
58 + >=www-servers/tornado-6.1[${PYTHON_USEDEP}]
59 + net-libs/nodejs
60 +"
61 +
62 +BDEPEND="test? (
63 + dev-python/check-manifest[${PYTHON_USEDEP}]
64 + dev-python/ipykernel[${PYTHON_USEDEP}]
65 + dev-python/jupyterlab_server[${PYTHON_USEDEP}]
66 + dev-python/openapi-core[${PYTHON_USEDEP}]
67 + dev-python/openapi-spec-validator[${PYTHON_USEDEP}]
68 + dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
69 + dev-python/pytest-tornasync[${PYTHON_USEDEP}]
70 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
71 + dev-python/requests[${PYTHON_USEDEP}]
72 + dev-python/ruamel-yaml[${PYTHON_USEDEP}]
73 + dev-python/requests-cache[${PYTHON_USEDEP}]
74 + dev-python/strict-rfc3339[${PYTHON_USEDEP}]
75 + dev-python/virtualenv[${PYTHON_USEDEP}]
76 +)"
77 +
78 +EPYTEST_DESELECT=(
79 + # These tests call npm and want internet
80 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension
81 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder
82 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned
83 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config
84 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom
85 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check
86 + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build
87 + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear
88 + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build
89 +)
90 +
91 +distutils_enable_tests pytest
92 +# TODO: package sphinx_copybutton
93 +#distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme dev-python/myst_parser
94 +
95 +python_install_all() {
96 + distutils-r1_python_install_all
97 + mv "${ED}/usr/etc" "${ED}/etc" || die
98 +}