44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# Template file for 'python3-ipython_ipykernel'
|
|
pkgname=python3-ipython_ipykernel
|
|
version=6.27.1
|
|
revision=1
|
|
build_style=python3-pep517
|
|
# these tests fail in 6.26.0
|
|
make_check_args="
|
|
--deselect tests/test_eventloop.py::test_asyncio_interrupt
|
|
--deselect tests/test_embed_kernel.py::test_embed_kernel_func
|
|
--deselect tests/test_kernelspec.py::test_install_kernelspec"
|
|
hostmakedepends="hatchling python3-jupyter_client"
|
|
depends="python3-comm python3-ipython python3-jupyter_client
|
|
python3-nest_asyncio python3-packaging python3-psutil python3-tornado"
|
|
checkdepends="$depends python3-flaky python3-pytest-asyncio
|
|
python3-pytest-timeout python3-trio python3-curio python3-matplotlib
|
|
python3-PyQt5 python3-PyQt5-svg"
|
|
short_desc="IPython kernel for Jupyter"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/ipython/ipykernel"
|
|
changelog="https://raw.githubusercontent.com/ipython/ipykernel/main/CHANGELOG.md"
|
|
distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
|
|
checksum=7d5d594b6690654b4d299edba5e872dc17bb7396a8d0609c97cb7b8a1c605de6
|
|
|
|
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
|
# this would cause a build-time circular dependency
|
|
checkdepends+=" python3-ipyparallel"
|
|
else
|
|
# These tests require ipyparallel
|
|
make_check_args+="
|
|
--ignore tests/test_pickleutil.py
|
|
--deselect tests/test_ipkernel_direct.py::test_do_apply
|
|
"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
# Also fails "on Windows and MacOS Python 3.8+" so just disable it
|
|
make_check_args+=" --deselect tests/test_kernel.py::test_subprocess_print"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|