python-jupyter_widgetsnbextension: update to 3.1.0. (#10740)
Split common javascript data into separate python-jupyter_widgetsnbextension-data package and depend on that.
This commit is contained in:
parent
ac1f06023e
commit
b7689911dd
2 changed files with 13 additions and 4 deletions
1
srcpkgs/python-jupyter_widgetsnbextension-data
Symbolic link
1
srcpkgs/python-jupyter_widgetsnbextension-data
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_widgetsnbextension
|
|
@ -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.0.6
|
version=3.1.0
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="widgetsnbextension-${version}"
|
wrksrc="widgetsnbextension-${version}"
|
||||||
|
@ -8,19 +8,27 @@ 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"
|
depends="python-jupyter_notebook python-jupyter_widgetsnbextension-data>=${version}_${revision}"
|
||||||
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=3fbedb4ae0883f48af2397c65a8f9fbf8ed868f1808db70f8aa72f25d391fa9b
|
checksum=67fc28c3b9fede955d69bccbd92784e3f0c6d0dee3a71532cd3367c257feb178
|
||||||
|
|
||||||
|
python-jupyter_widgetsnbextension-data_package() {
|
||||||
|
noarch=yes
|
||||||
|
short_desc+=" - data files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/jupyter
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
python3-jupyter_widgetsnbextension_package() {
|
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"
|
depends="python3-jupyter_notebook python-jupyter_widgetsnbextension-data>=${version}_${revision}"
|
||||||
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…
Add table
Add a link
Reference in a new issue