void-packages/srcpkgs/python3-jupyter_ipywidgets/template

26 lines
831 B
Bash

# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
version=7.5.1
revision=2
_widgetsnbextver=3.5.0
wrksrc="ipywidgets-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
python3-ipython_ipykernel python3-traitlets"
checkdepends="python3-pytest python3-jupyter_widgetsnbextension
python3-ipython_ipykernel python3-traitlets"
short_desc="IPython widgets for the Jupyter notebook"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter-widgets/ipywidgets"
distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
checksum=e945f6e02854a74994c596d9db83444a1850c01648f1574adf144fbbabe05c97
do_check() {
pytest
}
post_install() {
vlicense LICENSE
}