35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
# Template file for 'python3-jupyter_server'
|
|
pkgname=python3-jupyter_server
|
|
version=2.7.3
|
|
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 <nicolopiazzalunga@gmail.com>"
|
|
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=d4916c8581c4ebbc534cebdaa8eca2478d9f3bfdd88eae29fcab0120eac57649
|
|
|
|
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
|
|
}
|