2017-09-18 13:12:58 +02:00
|
|
|
# Template file for 'python-jupyter_widgetsnbextension'
|
|
|
|
pkgname=python-jupyter_widgetsnbextension
|
2017-10-22 17:43:36 +02:00
|
|
|
version=3.0.6
|
2017-09-18 13:12:58 +02:00
|
|
|
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"
|
2017-10-22 17:43:36 +02:00
|
|
|
checksum=3fbedb4ae0883f48af2397c65a8f9fbf8ed868f1808db70f8aa72f25d391fa9b
|
2017-09-18 13:12:58 +02:00
|
|
|
|
|
|
|
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*
|
|
|
|
}
|
|
|
|
}
|