python3-jupyter_console: update to 6.6.3, adopt.

This commit is contained in:
Gonzalo Tornaría 2023-09-26 17:13:52 -03:00 committed by Andrew J. Hesford
parent 2d06efa5f6
commit 33e65e174c

View file

@ -1,22 +1,29 @@
# Template file for 'python3-jupyter_console'
pkgname=python3-jupyter_console
version=6.4.4
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client
python3-prompt_toolkit python3-Pygments python3-traitlets"
checkdepends="$depends python3-pytest"
version=6.6.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-ipython_ipykernel python3-ipython python3-jupyter_client
python3-jupyter_core python3-prompt_toolkit python3-Pygments python3-pyzmq
python3-traitlets"
checkdepends="$depends python3-pytest python3-flaky"
short_desc="Jupyter terminal console (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/jupyter_console"
changelog="https://raw.githubusercontent.com/jupyter/jupyter_console/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
checksum=172f5335e31d600df61613a97b7f0352f2c8250bbd1092ef2d658f77249f89fb
# alternatives will be a conflict
checksum=566a4bf31c87adbfadf22cdf846e3069b59a71ed5da71d6ba4d8aaad14a53539
conflicts="python-jupyter_console<=6.0.0_2"
# Tests fail because stdin is not a terminal
make_check=no
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# these two tests are flaky on CI, even with @flaky sometimes fail
make_check_args="
--deselect=jupyter_console/tests/test_console.py::test_console_starts
--deselect=jupyter_console/tests/test_console.py::test_display_text
"
fi
post_install() {
vlicense LICENSE