34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# Template file for 'python-jupyter_ipywidgets'
|
|
pkgname=python-jupyter_ipywidgets
|
|
version=7.4.2
|
|
revision=2
|
|
archs=noarch
|
|
_widgetsnbextver=3.4.0
|
|
wrksrc="ipywidgets-${version}"
|
|
build_style=python-module
|
|
pycompile_module="ipywidgets"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-jupyter_widgetsnbextension>=${_widgetsnbextver}
|
|
python-ipython_ipykernel python-traitlets"
|
|
short_desc="IPython widgets for the Jupyter notebook (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/jupyter-widgets/ipywidgets"
|
|
license="BSD-3-Clause"
|
|
distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
|
|
checksum=a3e224f430163f767047ab9a042fc55adbcab0c24bbe6cf9f306c4f89fdf0ba3
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-jupyter_ipywidgets_package() {
|
|
archs=noarch
|
|
pycompile_module="ipywidgets"
|
|
depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
|
|
python3-ipython_ipykernel python3-traitlets"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|