void-packages/srcpkgs/python3-jupyter_widgetsnbex.../template

23 lines
836 B
Bash

# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
version=3.5.1
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jupyter_notebook"
checkdepends="$depends"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://pypi.org/project/widgetsnbextension/"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
checksum=079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7
replaces="python-jupyter_widgetsnbextension-data>=0"
conf_files="/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json"
post_install() {
# /usr/etc is intended for *example configuration*
mv ${DESTDIR}/usr/etc ${DESTDIR}
vlicense LICENSE
}