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

27 lines
907 B
Bash

# Template file for 'python-ipython_widgetsnbextension'
pkgname=python-ipython_widgetsnbextension
version=2.0.1
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=53bc3d7e1ba19f0e17a3787d5daa32aca219a577aaf88325cabf30ccf67431f9
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*
}
}