blob: e66afe76e2f9729dcd6133adb40044362c6944fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="JupyterLab computational environment"
HOMEPAGE="https://jupyter.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD MIT GPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
# TODO: package openapi et al
RESTRICT="test"
BDEPEND="dev-python/jupyter_packaging[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
>=dev-python/jupyterlab_server-2.10[${PYTHON_USEDEP}]
>=dev-python/jupyter_server-1.4[${PYTHON_USEDEP}]
>=dev-python/nbclassic-0.2[${PYTHON_USEDEP}]
>=dev-python/jinja-2.1[${PYTHON_USEDEP}]
>=www-servers/tornado-6.1[${PYTHON_USEDEP}]
net-libs/nodejs
"
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
}
|