void-packages/srcpkgs/python3-ipython_ipykernel/template

28 lines
959 B
Bash
Raw Normal View History

2020-03-31 05:14:46 +00:00
# Template file for 'python3-ipython_ipykernel'
pkgname=python3-ipython_ipykernel
version=5.2.0
revision=1
2020-03-31 05:14:46 +00:00
archs=noarch
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
2020-03-31 05:14:46 +00:00
do_check() {
# Those two tests are problematic in python 3.8,
# Old versions of ipykernel are more problematic
pytest -k 'not ipykernel/inprocess'
2020-03-31 05:14:46 +00:00
}
post_install() {
vlicense COPYING.md LICENSE
}