void-packages/srcpkgs/python3-ipython_ipykernel/template

27 lines
946 B
Bash

# Template file for 'python3-ipython_ipykernel'
pkgname=python3-ipython_ipykernel
version=5.2.0
revision=2
wrksrc="ipykernel-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-ipython
python3-jupyter_client python3-traitlets python3-tornado"
depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
checkdepends="python3-pytest $depends python3-numpy python3-flaky python3-nose"
short_desc="IPython kernel for Jupyter (Python3)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/ipython/ipykernel"
distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
checksum=37c65d2e2da3326e5cf114405df6d47d997b8a3eba99e2cc4b75833bf71a5e18
do_check() {
# Those two tests are problematic in python 3.8,
# Old versions of ipykernel are more problematic
pytest -k 'not ipykernel/inprocess'
}
post_install() {
vlicense COPYING.md LICENSE
}