Date: Sunday, January 23, 2022 @ 09:55:45 Author: arojas Revision: 1113554
Update to 6.4.7 Modified: jupyter-notebook/trunk/PKGBUILD ----------+ PKGBUILD | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-23 09:15:54 UTC (rev 1113553) +++ PKGBUILD 2022-01-23 09:55:45 UTC (rev 1113554) @@ -1,8 +1,8 @@ # Maintainer: Kyle Keen <[email protected]> pkgname=jupyter-notebook -pkgver=6.4.4 -pkgrel=4 +pkgver=6.4.7 +pkgrel=1 pkgdesc="The language-agnostic HTML notebook application for Project Jupyter" arch=('any') url="https://github.com/jupyter/notebook" @@ -13,14 +13,15 @@ 'jupyter-nbconvert' 'python-prometheus_client' 'python-argon2_cffi') # Much of their official dependency tree appears inverted and circular? makedepends=('python-setuptools' 'npm' 'git') +#checkdepends=('python-pytest' 'python-selenium' 'python-requests') optdepends=('pandoc: notebook export') -source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/notebook/archive/v$pkgver.tar.gz") -md5sums=('b0f30f612f08aa0e360444a261886c9a') +source=(https://github.com/jupyter/notebook/archive/v$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('9f1a2ca783723eeede4926216a1d0bf4') # todo: report bug that mathjax and nbconvert is no longer optional build() { - cd "$srcdir/notebook-$pkgver" + cd notebook-$pkgver # FS45999 disable bundled mathjax sed -i 's/^.*MathJax.*$//' bower.json @@ -28,14 +29,19 @@ sed -i 's/ mj(/ #mj(/' setupbase.py # needs node, downloads a lot of stuff - python3 setup.py build + python setup.py build } +#check() { +# cd notebook-$pkgver +# python setup.py test +#} + package() { - cd "$srcdir/notebook-$pkgver" + cd notebook-$pkgver # needs node - python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 # FS45999 use system mathjax ln -s /usr/share/mathjax2 \ "$pkgdir/usr/lib/python3.10/site-packages/notebook/static/components/MathJax"
