void-packages/srcpkgs/python3-jupyter_widgetsnbextension/template

25 lines
889 B
Bash
Raw Normal View History

# Template file for 'python3-jupyter_widgetsnbextension'
pkgname=python3-jupyter_widgetsnbextension
version=3.4.2
revision=3
archs=noarch
wrksrc="widgetsnbextension-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jupyter_notebook"
checkdepends="$depends"
short_desc="Interactive HTML widgets for Jupyter notebooks"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://pypi.org/project/widgetsnbextension/"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
checksum=fa618be8435447a017fd1bf2c7ae922d0428056cfc7449f7a8641edf76b48265
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
}