python3-ipython_ipykernel: update to 6.25.2, adopt.

This commit is contained in:
Gonzalo Tornaría 2023-05-02 01:07:04 -03:00 committed by Andrew J. Hesford
parent d7bd2e0724
commit df5c1c0956
1 changed files with 29 additions and 12 deletions

View File

@ -1,21 +1,38 @@
# Template file for 'python3-ipython_ipykernel'
pkgname=python3-ipython_ipykernel
version=6.19.2
revision=2
version=6.25.2
revision=1
build_style=python3-pep517
hostmakedepends="hatchling python3-jupyter_client python3-jupyter_core
python3-platformdirs"
depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado
python3-matplotlib-inline python3-nest_asyncio python3-packaging python3-psutil
python3 python3-comm python3-pyzmq"
short_desc="IPython kernel for Jupyter (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
# these tests fail in 6.25.2
make_check_args="
--deselect ipykernel/tests/test_eventloop.py::test_asyncio_interrupt
--deselect ipykernel/tests/test_embed_kernel.py::test_embed_kernel_func
--deselect ipykernel/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=1ab68d3d3654196266baa93990055413e167263ffbe4cfe834f871bcd3d3506d
make_check=no # cycle with python3-jupyter_core and python3-jupyter_client
checksum=f468ddd1f17acb48c8ce67fcfa49ba6d46d4f9ac0438c1f441be7c3d1372230b
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 ipykernel/tests/test_pickleutil.py
--deselect ipykernel/tests/test_ipkernel_direct.py::test_do_apply
"
fi
post_install() {
vlicense COPYING.md LICENSE
vlicense LICENSE
}