29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'jupyterlab'
|
|
pkgname=jupyterlab
|
|
version=4.1.8
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="hatchling hatch-jupyter-builder"
|
|
depends="nodejs python3-async-lru python3-httpx python3-ipython_ipykernel
|
|
python3-jupyterlab_server python3-notebook_shim"
|
|
checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist"
|
|
short_desc="JupyterLab computational environment"
|
|
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="custom:jupyterlab"
|
|
homepage="https://github.com/jupyterlab/jupyterlab/"
|
|
changelog="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/CHANGELOG.md"
|
|
distfiles="${PYPI_SITE}/j/jupyterlab/jupyterlab-${version}.tar.gz"
|
|
checksum=3384aded8680e7ce504fd63b8bb89a39df21c9c7694d9e7dc4a68742cdb30f9b
|
|
|
|
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
|
|
# this test fails on CI (network timeout)
|
|
make_check_args="
|
|
--deselect=jupyterlab/tests/test_build_api.py::TestBuildAPI
|
|
"
|
|
fi
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/etc ${DESTDIR}
|
|
vlicense LICENSE
|
|
}
|