python-jupyter_widgetsnbextension: update to 3.1.4
This commit is contained in:
parent
8501a4205c
commit
15e867f7cc
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-jupyter_widgetsnbextension'
|
# Template file for 'python-jupyter_widgetsnbextension'
|
||||||
pkgname=python-jupyter_widgetsnbextension
|
pkgname=python-jupyter_widgetsnbextension
|
||||||
version=3.1.0
|
version=3.1.4
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="widgetsnbextension-${version}"
|
wrksrc="widgetsnbextension-${version}"
|
||||||
|
@ -8,18 +8,26 @@ build_style=python-module
|
||||||
pycompile_module="widgetsnbextension"
|
pycompile_module="widgetsnbextension"
|
||||||
replaces="python-ipython_widgetsnbextension>=0"
|
replaces="python-ipython_widgetsnbextension>=0"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-jupyter_notebook python-jupyter_widgetsnbextension-data>=${version}_${revision}"
|
depends="python-jupyter_widgetsnbextension-data>=${version}_${revision}
|
||||||
|
python-jupyter_notebook"
|
||||||
short_desc="Interactive HTML widgets for Jupyter notebooks (Python2)"
|
short_desc="Interactive HTML widgets for Jupyter notebooks (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://pypi.python.org/pypi/widgetsnbextension"
|
homepage="https://pypi.python.org/pypi/widgetsnbextension"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz"
|
||||||
checksum=67fc28c3b9fede955d69bccbd92784e3f0c6d0dee3a71532cd3367c257feb178
|
checksum=79f164a644620abbe351440a70468ac3a5b22b392afa4577c8d5f91577a2669b
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/widgetsnbextension.json/d' setup.py
|
||||||
|
}
|
||||||
|
|
||||||
python-jupyter_widgetsnbextension-data_package() {
|
python-jupyter_widgetsnbextension-data_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc+=" - data files"
|
short_desc+=" - data files"
|
||||||
|
conf_files="/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmkdir etc/jupyter/nbconfig/notebook.d
|
||||||
|
vinstall widgetsnbextension.json 644 etc/jupyter/nbconfig/notebook.d
|
||||||
vmove usr/share/jupyter
|
vmove usr/share/jupyter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,7 +36,8 @@ python3-jupyter_widgetsnbextension_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="widgetsnbextension"
|
pycompile_module="widgetsnbextension"
|
||||||
replaces="python3-ipython_widgetsnbextension>=0"
|
replaces="python3-ipython_widgetsnbextension>=0"
|
||||||
depends="python3-jupyter_notebook python-jupyter_widgetsnbextension-data>=${version}_${revision}"
|
depends="python-jupyter_widgetsnbextension-data>=${version}_${revision}
|
||||||
|
python3-jupyter_notebook"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Reference in New Issue