void-packages/srcpkgs/python-jupyter_widgetsnbext.../template

29 lines
1005 B
Bash

# Template file for 'python-jupyter_widgetsnbextension'
pkgname=python-jupyter_widgetsnbextension
version=3.0.3
revision=1
noarch=yes
wrksrc="widgetsnbextension-${version}"
build_style=python-module
pycompile_module="widgetsnbextension"
replaces="python-ipython_widgetsnbextension>=0"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-jupyter_notebook"
short_desc="Interactive HTML widgets for Jupyter notebooks (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://pypi.python.org/pypi/widgetsnbextension"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
checksum=ed242439c6407a7a9dc1aaa208198a93ef749ed1f930eba2b94ea94d49cabaa6
python3-jupyter_widgetsnbextension_package() {
noarch=yes
pycompile_module="widgetsnbextension"
replaces="python3-ipython_widgetsnbextension>=0"
depends="python3-jupyter_notebook"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}