python-jupyter_ipywidgets: update to 7.1.2

This commit is contained in:
Alessio Sergi 2018-03-07 18:33:00 +01:00
parent 5e2de1c143
commit 8501a4205c

View file

@ -1,20 +1,22 @@
# Template file for 'python-jupyter_ipywidgets'
pkgname=python-jupyter_ipywidgets
version=7.1.0
version=7.1.2
revision=1
noarch=yes
_widgetsnbextver=3.1.0
wrksrc="ipywidgets-${version}"
build_style=python-module
pycompile_module="ipywidgets"
replaces="python-ipython_ipywidgets>=0"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-ipython_ipykernel python-traitlets python-jupyter_widgetsnbextension"
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="3-clause-BSD"
distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
checksum=3e2be7dea4f97c9a4df71ef065cad9f2e420dd901127bf7cb690fb56d2b34ea3
checksum=4263ce721a1e5b53a84c4595a5e296d270ae0dc534401b536f4dda64e0b0ca02
post_install() {
vlicense COPYING.md LICENSE
@ -24,7 +26,8 @@ python3-jupyter_ipywidgets_package() {
noarch=yes
pycompile_module="ipywidgets"
replaces="python3-ipython_ipywidgets>=0"
depends="python3-ipython_ipykernel python3-traitlets python3-jupyter_widgetsnbextension"
depends="python3-jupyter_widgetsnbextension>=${_widgetsnbextver}
python3-ipython_ipykernel python3-traitlets"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*