void-packages/srcpkgs/python3-jupyter_console/template

31 lines
1.1 KiB
Bash

# Template file for 'python3-jupyter_console'
pkgname=python3-jupyter_console
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="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=566a4bf31c87adbfadf22cdf846e3069b59a71ed5da71d6ba4d8aaad14a53539
conflicts="python-jupyter_console<=6.0.0_2"
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
}