2024-12-23 21:32:19 -05:00

37 lines
1.6 KiB
Bash

# Template file for 'python3-jupyter_client'
pkgname=python3-jupyter_client
version=8.6.3
revision=1
build_style=python3-pep517
# random failures (see https://github.com/jupyter/jupyter_client/issues/979)
make_check_args="
--deselect tests/test_kernelmanager.py::TestParallel::test_start_parallel_process_kernels[tcp]
--deselect tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc]
--deselect tests/test_kernelmanager.py::TestParallel::test_start_sequence_process_kernels[tcp]
--deselect tests/test_restarter.py::test_restart_check[ipc]
--deselect tests/test_restarter.py::test_async_restart_check[ipc]
--deselect tests/test_client.py::TestAsyncKernelClient::test_input_request"
hostmakedepends="hatchling"
depends="python3-dateutil python3-jupyter_core python3-pyzmq python3-tornado
python3-traitlets"
checkdepends="$depends inetutils-ifconfig iproute2 openssh python3-msgpack
python3-pytest-jupyter python3-pytest-timeout python3-pytest-xdist"
short_desc="Jupyter protocol client APIs"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/jupyter_client"
changelog="https://raw.githubusercontent.com/jupyter/jupyter_client/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
checksum=35b3a0947c4a6e9d589eb97d7d4cd5e90f910ee73101611f01283732bd6d9419
conflicts="python-jupyter_client<=5.2.4_2"
make_check=extended # cannot be tested without python3-ipython_ipykernel
if [ "$XBPS_CHECK_PKGS" = full ]; then
# this would cause a build-time circular dependency
checkdepends+=" python3-ipython_ipykernel"
fi
post_install() {
vlicense LICENSE
}