void-packages/srcpkgs/python3-jupyter_server/template
2025-05-12 15:41:06 -04:00

34 lines
1.5 KiB
Bash

# Template file for 'python3-jupyter_server'
pkgname=python3-jupyter_server
version=2.16.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-jupyter-builder"
depends="python3-anyio python3-argon2 python3-Jinja2 python3-jupyter_client
python3-jupyter_core python3-jupyter_events python3-jupyter_server_terminals
python3-jupyter_nbconvert python3-jupyter_nbformat python3-overrides
python3-packaging python3-prometheus_client python3-pyzmq python3-send2trash
python3-terminado python3-tornado python3-traitlets python3-websocket-client"
checkdepends="$depends pandoc python3-ipython_ipykernel
python3-pytest-console-scripts python3-pytest-jupyter
python3-pytest-xdist python3-requests python3-flaky"
short_desc="Backend to Jupyter web applications"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter-server/jupyter_server"
changelog="https://raw.githubusercontent.com/jupyter-server/jupyter_server/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz"
checksum=65d4b44fdf2dcbbdfe0aa1ace4a842d4aaf746a2b7b168134d5aaed35621b7f6
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these tests fail on CI (connect to a tcp address)
make_check_args+="
--deselect=tests/extension/test_launch.py::test_launch_instance
--deselect=tests/extension/test_launch.py::test_base_url
--deselect=tests/extension/test_launch.py::test_token_file
"
fi
post_install() {
vlicense LICENSE
}