Commit 0bcf83ca authored by Alexander B. Ustinov's avatar Alexander B. Ustinov
Browse files

jupyterlab

parent 14773781
DIST jupyterlab-3.3.4.tar.gz 23614948 BLAKE2B 02e8f38feb77d1f40f22fb54f9e497355d757d9d0cbd13fcf3758c50feb659480d087391c0d8b50269126014dfa837fc55e69d88a1bb61c6c21990d2d2513440 SHA512 f5f11f990cbdbe07be4af1667092349e9e47e359feb6f93ef0ac831922a16cea582a93c64dee9aa1a5d606cd14c6d1b93ee7d4072736187665752df3232a8d63
DIST jupyterlab-3.4.0.tar.gz 23537561 BLAKE2B f7cef43b7a1243cb0786950c25ddde13e766d79f857eeac6df4891322080eb7c7b93574c17fd33955a1b8e709e8998a6314cf05d3440483b8fcc33b6903d9259 SHA512 6750cae2979b77170ba82d618f9ed5200c667168efc4218eb9c55d6485dec425d63dfd82602fabd40df083052c8fd7d5d4aaf37b1405b2ec8b486276e0cdf768
EBUILD jupyterlab-3.3.4-r1.ebuild 1899 BLAKE2B b7eb83bcb2e1b0b142166b0094fc39676531eb92fa159164339ba001d2f5bd60e7fd5e5ec5a97ecef1031b5b2655f31ce8e509beab736f50a535912bd6583999 SHA512 a91d028f0181f2862c966500c6b5e20e91f7b1f5c65808d2888544eae52d76ef552beea6cd9887f4ea5fe9b8126b8ae428b6f62aa1d46df07b47a3e32c3b63a8
EBUILD jupyterlab-3.4.0.ebuild 1899 BLAKE2B b7eb83bcb2e1b0b142166b0094fc39676531eb92fa159164339ba001d2f5bd60e7fd5e5ec5a97ecef1031b5b2655f31ce8e509beab736f50a535912bd6583999 SHA512 a91d028f0181f2862c966500c6b5e20e91f7b1f5c65808d2888544eae52d76ef552beea6cd9887f4ea5fe9b8126b8ae428b6f62aa1d46df07b47a3e32c3b63a8
DIST jupyterlab-3.4.1.tar.gz 23537403 BLAKE2B 3ce2248e64519bf7bc373609ab604f18df464406c42791852866f4fdcbea034026e129b944fe8d9b2ace6289d96b082bc82f843aa6574da7fca3d88fbe1683cc SHA512 7358224cff7acbf85ed4fd5ba3e83e52ef562951345df56ad0eb46a4f2756622626302c43445ec0baa6c783ec14c80b0a6cca3986dca41802ada24c711ab2856
EBUILD jupyterlab-3.4.1.ebuild 1955 BLAKE2B 794802bc864a6e0bbc1408054461e7fd140be72037bf713406d5dd857527a937b2d8dcb4e2425300da42925c39e55314af4ffe76a5ca39f5f89ba28ad86a4b5b SHA512 b609bc3a6d4d07b8d18f699e37d4ba6e9a2c3a32ef4ec4633b3d4d355babe24d613c45a31b1377d28da9b9c54bde9650b3fdf88cc04da11c64063ceab55b3681
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit distutils-r1
DESCRIPTION="JupyterLab computational environment"
HOMEPAGE="https://github.com/jupyterlab/jupyterlab"
SRC_URI="https://github.com/jupyterlab/jupyterlab/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=www-servers/tornado-6.1[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
=dev-python/jupyterlab_server-2*[${PYTHON_USEDEP}]
>=dev-python/jupyterlab_server-2.3.0[${PYTHON_USEDEP}]
>=dev-python/jupyter_server-1.4.0[${PYTHON_USEDEP}]
=dev-python/jupyter_server-1*[${PYTHON_USEDEP}]
>=dev-python/nbclassic-0.2[${PYTHON_USEDEP}]
>=dev-python/jinja-2.1[${PYTHON_USEDEP}]
dev-python/fastjsonschema[${PYTHON_USEDEP}]
dev-python/tinycss2[${PYTHON_USEDEP}]
"
DEPEND="
net-libs/nodejs
"
# widgets? ( dev-python/ipywidgets[${PYTHON_USEDEP}] >dev-python/jupyterlab-widgets-1.0.0[${PYTHON_USEDEP}] )
# get installed to system path instead of JUPYTERLAB_DIR, do not work
src_prepare() {
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
}
python_install() {
distutils-r1_python_install --skip-build
mkdir -p ${D}/etc
mv ${D}/usr/etc/* ${D}/etc/
rm ${D}/usr/etc -r
echo "export JUPYTERLAB_DIR=~/.jupyter/lab/assets" > jupyterlab-assets.sh
insinto /etc/bash/bashrc.d
doins ${S}/jupyterlab-assets.sh
}
python_install_all() {
distutils-r1_python_install_all
}
pkg_postinst() {
if [ "$JUPYTERLAB_DIR" = "" ]; then
elog
elog Before running jupyterlab in the existing shell please source
elog . /etc/bash/bashrc.d/jupyterlab-assets.sh
elog
fi
}
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{6,7,8,9} )
PYTHON_COMPAT=( python3_{8,9} )
DISTUTILS_USE_PEP517="jupyter"
inherit distutils-r1
DESCRIPTION="JupyterLab computational environment"
......@@ -34,6 +35,9 @@ RDEPEND="
DEPEND="
net-libs/nodejs
"
RESTRICT="network-sandbox"
# widgets? ( dev-python/ipywidgets[${PYTHON_USEDEP}] >dev-python/jupyterlab-widgets-1.0.0[${PYTHON_USEDEP}] )
# get installed to system path instead of JUPYTERLAB_DIR, do not work
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment