mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
python-jupyter_notebook: update to 4.3.0
This commit is contained in:
parent
60145f034c
commit
bf595dd929
1 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-jupyter_notebook'
|
# Template file for 'python-jupyter_notebook'
|
||||||
pkgname=python-jupyter_notebook
|
pkgname=python-jupyter_notebook
|
||||||
version=4.2.3
|
version=4.3.0
|
||||||
revision=3
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="notebook-${version}"
|
wrksrc="notebook-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -16,26 +16,27 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/jupyter/notebook"
|
homepage="https://github.com/jupyter/notebook"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
|
||||||
checksum=39a9603d3fe88b60de2903680c965cf643acf2c16fb2c6bac1d905e1042b5851
|
checksum=c0d9beb94d7dc4958ec6cc76966c9b63f89092a03823365ae9e2930d38faa7da
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
jupyter-notebook:jupyter-notebook:/usr/bin/jupyter-notebook2
|
jupyter-notebook:jupyter-notebook:/usr/bin/jupyter-notebook2
|
||||||
jupyter-notebook:jupyter-nbextension:/usr/bin/jupyter-nbextension2"
|
jupyter-notebook:jupyter-nbextension:/usr/bin/jupyter-nbextension2
|
||||||
|
jupyter-notebook:jupyter-serverextension:/usr/bin/jupyter-serverextension2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
# use system mathjax
|
# use system mathjax
|
||||||
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/notebook/static/components/MathJax
|
for py_sitelib in $py2_sitelib $py3_sitelib; do
|
||||||
for pyver in $python_versions; do
|
rm -rf ${DESTDIR}/${py_sitelib}/notebook/static/components/MathJax
|
||||||
ln -sf /usr/share/mathjax \
|
ln -sf /usr/share/mathjax ${DESTDIR}/${py_sitelib}/notebook/static/components/MathJax
|
||||||
${DESTDIR}/usr/lib/python${pyver}/site-packages/notebook/static/components/MathJax
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-jupyter_notebook_package() {
|
python3-jupyter_notebook_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
jupyter-notebook:jupyter-notebook:/usr/bin/jupyter-notebook3
|
jupyter-notebook:jupyter-notebook:/usr/bin/jupyter-notebook3
|
||||||
jupyter-notebook:jupyter-nbextension:/usr/bin/jupyter-nbextension3"
|
jupyter-notebook:jupyter-nbextension:/usr/bin/jupyter-nbextension3
|
||||||
|
jupyter-notebook:jupyter-serverextension:/usr/bin/jupyter-serverextension3"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
replaces="python3.4-jupyter_notebook>=0"
|
replaces="python3.4-jupyter_notebook>=0"
|
||||||
depends="python3-Jinja2 python3-terminado python3-tornado
|
depends="python3-Jinja2 python3-terminado python3-tornado
|
||||||
|
@ -45,8 +46,7 @@ python3-jupyter_notebook_package() {
|
||||||
pycompile_module="notebook"
|
pycompile_module="notebook"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-notebook3
|
vmove usr/bin/*3
|
||||||
vmove usr/bin/jupyter-nbextension3
|
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue