mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 06:07:14 +08:00
jupyter: update to 4.1.0
This commit is contained in:
parent
7f6118e1a0
commit
2a5227d896
@ -1,6 +1,6 @@
|
||||
pkgbase=jupyter
|
||||
pkgname=('jupyter' 'ipython2-notebook')
|
||||
pkgver=4.0.6
|
||||
pkgver=4.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="A language-agnostic web-based interactive shell/notebook server."
|
||||
arch=('any')
|
||||
@ -17,29 +17,34 @@ optdepends=('mathjax: latex equation rendering'
|
||||
|
||||
# some of these will update rapidly, others never
|
||||
# so _vers will be phased in as new updates are released
|
||||
_ipykv=4.0.3 # ipykernel
|
||||
_ipywv=4.0.2 # ipywidgets
|
||||
_qtcv=4.0.1 # qtconsole
|
||||
_notev=4.0.4 # notebook
|
||||
_ipykv=4.3.1 # ipykernel
|
||||
_ipywv=5.0.0 # ipywidgets
|
||||
_qtcv=4.1.1 # qtconsole
|
||||
_notev=4.2.0 # notebook
|
||||
_nbcv=4.2.0
|
||||
_nbfv=4.0.1
|
||||
_jpcsv=4.1.1 # jupyter_console
|
||||
_jpclv=4.2.2
|
||||
_pyver=3.5
|
||||
|
||||
source=("jupyter_core.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz"
|
||||
"ipykernel.tgz::https://github.com/ipython/ipykernel/archive/$_ipykv.tar.gz"
|
||||
"ipywidgets.tgz::https://github.com/ipython/ipywidgets/archive/$_ipywv.tar.gz"
|
||||
"nbconvert.tgz::https://github.com/jupyter/nbconvert/archive/4.0.0.tar.gz"
|
||||
"nbformat.tar.gz::https://github.com/jupyter/nbformat/archive/4.0.0.tar.gz"
|
||||
"jupyter_console.tgz::https://github.com/jupyter/jupyter_console/archive/4.0.2.tar.gz"
|
||||
"jupyter_client.tgz::https://github.com/jupyter/jupyter_client/archive/4.0.0.tar.gz"
|
||||
"ipywidgets.tgz::https://github.com/ipython/ipywidgets/archive/v$_ipywv.tar.gz"
|
||||
"nbconvert.tgz::https://github.com/jupyter/nbconvert/archive/$_nbcv.tar.gz"
|
||||
"nbformat.tar.gz::https://github.com/jupyter/nbformat/archive/$_nbfv.tar.gz"
|
||||
"jupyter_console.tgz::https://github.com/jupyter/jupyter_console/archive/$_jpcsv.tar.gz"
|
||||
"jupyter_client.tgz::https://github.com/jupyter/jupyter_client/archive/$_jpclv.tar.gz"
|
||||
"notebook.tgz::https://github.com/jupyter/notebook/archive/$_notev.tar.gz"
|
||||
"https://pypi.python.org/packages/source/q/qtconsole/qtconsole-$_qtcv.tar.gz")
|
||||
sha256sums=('76d9f95eec679d1ce8a07fba4e373bda3b17ca89e3b03ee6186a7dbdc117d7e8'
|
||||
'61ee8838decae364cd2291a88983473d74c352babb4d1896b6a2b9718cfc1d85'
|
||||
'5eb4f1012ee6f45fb2bf6586b9a6934c4ad3e46a2de90d67410a60ac820be2e5'
|
||||
'00e25eeca90523ba6b774b289073631ef5ac65bb2de9774e9b7f29604516265c'
|
||||
'f0dc6c6b47b9b0dcda1dfb02dd99c0818eb709571690a688d4e38a3129d2e95b'
|
||||
'116a56763899bbb12c762f865372eb52c08619ef070c237c7f1387e192bfd3df'
|
||||
'33b15abb1307d8d3716b0d3b5d07aa22fdfbbf65a9f1aedf478a274a6adc11c0'
|
||||
'8b92dac44a8ddf0a4a77be71eb7b82b8e35f5a6bd77cc8c7c4d023c9ec98043c'
|
||||
'7d2cf976bb960df11f413709b5b5b809365c48426110e946d0c12117e6ced3a5')
|
||||
sha256sums=('80b78d215399760f4678cc1512118257543e17b48316254d1e1dbddfafa2dffc'
|
||||
'f38b366053567c36464ae6d04d72ed72d74f77e63d49a6fa38826278ed7848fd'
|
||||
'0eb192bc2b33a5ab1adfcf5dd120b876630149d6b930ea43b3ff68299a3f8d81'
|
||||
'32394be5a20f39f99fabfb9b2f2625df17f1c2a6699182ca41598e98e7cc9610'
|
||||
'5c46c21349f29379fa55bf19e4359afcd605fd4b5693a56807355874a2e87f78'
|
||||
'0bb06a1f878d0c44c2f6f66406a80f949bcd86f3508035500af7dceffb9cc7dc'
|
||||
'bf3e8ea4c44f07dbe2991e41031f6dab242734be424f4d40b72cc58a12c7d2ca'
|
||||
'edb7ef8153e5ca781f21c7feb50b3316d515b0d8861ba0e45a00280166214a7f'
|
||||
'741906acae9e02c0df9138ac88b621ef22e438565aa96d783a9ef88faec3de46')
|
||||
|
||||
# notebook optdeps ?
|
||||
# 'haskell-pandoc: ipython notebook conversion'
|
||||
@ -52,7 +57,7 @@ sha256sums=('76d9f95eec679d1ce8a07fba4e373bda3b17ca89e3b03ee6186a7dbdc117d7e8'
|
||||
prepare() {
|
||||
cd "$srcdir"
|
||||
cp -r jupyter_core-$pkgver python2-jupyter_core-$pkgver
|
||||
cp -r jupyter_client-4.0.0 python2-jupyter_client-4.0.0
|
||||
cp -r jupyter_client-$_jpclv python2-jupyter_client-$_jpclv
|
||||
cp -r ipykernel-$_ipykv python2-ipykernel-$_ipykv
|
||||
cp -r qtconsole-$_qtcv python2-qtconsole-$_qtcv
|
||||
}
|
||||
@ -62,9 +67,9 @@ build() {
|
||||
|
||||
# FS45999 disable bundled mathjax
|
||||
cd "$srcdir/notebook-$_notev"
|
||||
sed -i 's/^.*MathJax.*$//' bower.json
|
||||
#sed -i 's/^.*MathJax.*$//' bower.json
|
||||
#sed -i '/Trim mathjax/,/^ static_data.append/d' setupbase.py
|
||||
sed -i 's/mj(/#mj(/' setupbase.py
|
||||
#sed -i 's/mj(/#mj(/' setupbase.py
|
||||
# needs node, downloads a lot of stuff
|
||||
python3 setup.py build
|
||||
|
||||
@ -92,18 +97,18 @@ package_jupyter() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
# FS45999 use system mathjax
|
||||
ln -s /usr/share/mathjax \
|
||||
"$pkgdir/usr/lib/python3.4/site-packages/notebook/static/components/MathJax"
|
||||
"$pkgdir/usr/lib/python$_pyver/site-packages/notebook/static/components/MathJax"
|
||||
|
||||
cd "$srcdir/nbconvert-4.0.0"
|
||||
cd "$srcdir/nbconvert-$_nbcv"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
|
||||
cd "$srcdir/nbformat-4.0.0"
|
||||
cd "$srcdir/nbformat-$_nbfv"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
|
||||
cd "$srcdir/jupyter_console-4.0.2"
|
||||
cd "$srcdir/jupyter_console-$_jpcsv"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
|
||||
cd "$srcdir/jupyter_client-4.0.0"
|
||||
cd "$srcdir/jupyter_client-$_jpclv"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
|
||||
cd "$srcdir/qtconsole-$_qtcv"
|
||||
@ -127,7 +132,7 @@ package_ipython2-notebook() {
|
||||
cd "$srcdir/python2-jupyter_core-$pkgver"
|
||||
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
|
||||
cd "$srcdir/python2-jupyter_client-4.0.0"
|
||||
cd "$srcdir/python2-jupyter_client-$_jpclv"
|
||||
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
|
||||
|
||||
cd "$srcdir/python2-qtconsole-$_qtcv"
|
||||
|
Loading…
Reference in New Issue
Block a user