35 lines
1.4 KiB
Bash
35 lines
1.4 KiB
Bash
# Template file for 'python3-jupyter_server'
|
|
pkgname=python3-jupyter_server
|
|
version=2.14.2
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="hatchling hatch-jupyter-builder"
|
|
depends="python3-anyio python3-argon2 python3-jupyter_client
|
|
python3-jupyter_events python3-jupyter_nbconvert
|
|
python3-jupyter_server_terminals python3-overrides
|
|
python3-prometheus_client python3-send2trash
|
|
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=66095021aa9638ced276c248b1d81862e4c50f292d575920bbe960de1c56b12b
|
|
|
|
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
|
|
}
|