# Template file for 'python-ipython_widgetsnbextension'
pkgname=python-ipython_widgetsnbextension
version=2.0.0
revision=2
noarch=yes
wrksrc="widgetsnbextension-${version}"
build_style=python-module
pycompile_module="widgetsnbextension"
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=566582a84642d0c0f78b756a954450a38a8743eeb8dad04b7cab3ca66f455e6f

python3-ipython_widgetsnbextension_package() {
	noarch=yes
	depends="python3-jupyter_notebook"
	pycompile_module="widgetsnbextension"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
