# Template file for 'python3-jupyter_ipywidgets'
pkgname=python3-jupyter_ipywidgets
version=8.1.8
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-comm python3-ipython python3-traitlets
 python3-jupyter_widgetsnbextension python3-jupyterlab_widgets"
checkdepends="$depends python3-pytest python3-jsonschema python3-pytz
 python3-ipython_ipykernel"
short_desc="IPython widgets for the Jupyter notebook"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter-widgets/ipywidgets"
changelog="https://raw.githubusercontent.com/jupyter-widgets/ipywidgets/main/docs/source/changelog.md"
distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
checksum=61f969306b95f85fba6b6986b7fe45d73124d1d9e3023a8068710d47a22ea668

# main repo `.../python/ipywidgets/ipywidgets/` is `.../ipywidgets/` here
patch_args=-Np3

post_install() {
	vlicense LICENSE
}
