From 88fc1a39f9832d112667ea0ff9a341c21939cc93 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 24 Apr 2016 22:49:24 +0200 Subject: [PATCH] python-jupyter_notebook: update to 4.2.0 --- srcpkgs/python-jupyter_notebook/template | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python-jupyter_notebook/template b/srcpkgs/python-jupyter_notebook/template index 2abcb90f211..d07ea0c8d11 100644 --- a/srcpkgs/python-jupyter_notebook/template +++ b/srcpkgs/python-jupyter_notebook/template @@ -1,6 +1,6 @@ # Template file for 'python-jupyter_notebook' pkgname=python-jupyter_notebook -version=4.1.0 +version=4.2.0 revision=1 noarch=yes replaces="python-ipython-notebook>=0" @@ -18,13 +18,8 @@ maintainer="Alessio Sergi " homepage="https://github.com/jupyter/notebook" license="3-clause-BSD" distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz" -checksum=b597437ba33538221008e21fea71cd01eda9da1515ca3963d7c74e44f4b03d90 +checksum=e10c4916c77b48394796b5b1440d61d7b210f9941194048fe20ef88948016d84 -pre_build() { - # disable bundled mathjax - sed -i 's/^.*MathJax.*$//' bower.json - sed -i 's/mj(/#mj(/' setupbase.py -} post_install() { rm -f ${DESTDIR}/usr/bin/* for f in jupyter-nbextension jupyter-notebook; do @@ -34,6 +29,7 @@ post_install() { vlicense COPYING.md LICENSE # use system mathjax + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/notebook/static/components/MathJax for pyver in $python_versions; do ln -sf /usr/share/mathjax \ ${DESTDIR}/usr/lib/python${pyver}/site-packages/notebook/static/components/MathJax