void-packages/srcpkgs/jupyterlab/template

29 lines
1.0 KiB
Bash

# Template file for 'jupyterlab'
pkgname=jupyterlab
version=4.2.4
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=343a979fb9582fd08c8511823e320703281cd072a0049bcdafdc7afeda7f2537
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
}