python-ipython_ipywidgets: obsolete; renamed to python-jupyter_ipywidgets (upstream)

This commit is contained in:
Alessio Sergi 2017-09-18 13:17:13 +02:00
parent 384b4145f0
commit 1e5aa4b1ed
1 changed files with 7 additions and 20 deletions

View File

@ -1,34 +1,21 @@
# Template file for 'python-ipython_ipywidgets'
pkgname=python-ipython_ipywidgets
version=6.0.1
revision=1
revision=2
noarch=yes
wrksrc="ipywidgets-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-ipython_ipykernel python-traitlets python-ipython_widgetsnbextension"
pycompile_module="ipywidgets"
short_desc="IPython widgets for the Jupyter notebook (Python2)"
build_style=meta
depends="python-jupyter_ipywidgets>=${version}_${revision}"
short_desc="IPython widgets for the Jupyter notebook (Python2) (transitional dummy package)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/ipython/ipywidgets"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
checksum=4a85f1d6c201220e9ec907ebb5d4bc458c8d75ea3c8997678e3f73c6cf4268ab
post_install() {
vlicense COPYING.md LICENSE
}
python3-ipython_ipywidgets_package() {
noarch=yes
depends="python3-ipython_ipykernel python3-traitlets python3-ipython_widgetsnbextension"
build_style=meta
depends="python3-jupyter_ipywidgets>=${version}_${revision}"
replaces="python3.4-ipython_ipywidgets>=0"
pycompile_module="ipywidgets"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING.md LICENSE
}
short_desc="${short_desc/Python2/Python3} (transitional dummy package)"
}
python3.4-ipython_ipywidgets_package() {
noarch=yes