void-packages/srcpkgs/python3-jupyter_qtconsole/template

29 lines
912 B
Bash

# Template file for 'python3-jupyter_qtconsole'
pkgname=python3-jupyter_qtconsole
version=4.7.1
revision=1
archs=noarch
wrksrc="qtconsole-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-traitlets python3-jupyter_core python3-jupyter_client
python3-Pygments python3-ipython_ipykernel python3-ipython_genutils
python3-PyQt5-svg python3-QtPy"
checkdepends="$depends python3-pytest-qt python3-flaky"
short_desc="Jupyter Qt console"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/qtconsole"
distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz"
checksum=d51c1c51c81fbd1fac62b2d4bdc8b54fb6b7cbe6cbf70c3baeea11516525c956
conflicts="python-jupyter_qtconsole<=4.4.3_2"
do_check() {
# flaky test
QT_QPA_PLATFORM=offscreen pytest -k 'not test_frontend_to_kernel'
}
post_install() {
vlicense LICENSE
}