# Template file for 'python-ipython_widgetsnbextension'
pkgname=python-ipython_widgetsnbextension
version=1.2.6
revision=1
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=c618cfb32978c9517caf0b4ef3aec312f8dd138577745e7b0d4abfcc7315ce51

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*
	}
}
