[arch-commits] Commit in jupyter-notebook/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 06:58:16 UTC 2020
Date: Wednesday, November 11, 2020 @ 06:58:16
Author: foutrelis
Revision: 749985
archrelease: copy trunk to community-staging-any
Added:
jupyter-notebook/repos/community-staging-any/PKGBUILD
(from rev 749984, jupyter-notebook/trunk/PKGBUILD)
Deleted:
jupyter-notebook/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 06:58:12 UTC (rev 749984)
+++ PKGBUILD 2020-11-11 06:58:16 UTC (rev 749985)
@@ -1,44 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-notebook
-pkgver=6.1.4
-pkgrel=2
-pkgdesc="The language-agnostic HTML notebook application for Project Jupyter"
-arch=('any')
-url="https://github.com/jupyter/notebook"
-license=('BSD')
-depends=('python-setuptools' 'python-jinja' 'python-tornado' 'python-terminado'
- 'python-traitlets' 'jupyter-nbformat' 'python-jupyter_core'
- 'python-jupyter_client' 'mathjax2' 'python-send2trash'
- 'jupyter-nbconvert' 'python-prometheus_client' 'python-argon2_cffi')
-# Much of their official dependency tree appears inverted and circular?
-makedepends=('python-setuptools' 'npm' 'git')
-optdepends=('pandoc: notebook export')
-source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/notebook/archive/$pkgver.tar.gz")
-md5sums=('eb81355187dad5e8f579be098d32db08')
-
-# todo: report bug that mathjax and nbconvert is no longer optional
-
-build() {
- cd "$srcdir/notebook-$pkgver"
-
- # FS45999 disable bundled mathjax
- sed -i 's/^.*MathJax.*$//' bower.json
- #sed -i '/Trim mathjax/,/^ static_data.append/d' setupbase.py
- sed -i 's/ mj(/ #mj(/' setupbase.py
-
- # needs node, downloads a lot of stuff
- python3 setup.py build
-}
-
-package() {
- cd "$srcdir/notebook-$pkgver"
-
- # needs node
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- # FS45999 use system mathjax
- ln -s /usr/share/mathjax2 \
- "$pkgdir/usr/lib/python3.9/site-packages/notebook/static/components/MathJax"
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: jupyter-notebook/repos/community-staging-any/PKGBUILD (from rev 749984, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 06:58:16 UTC (rev 749985)
@@ -0,0 +1,44 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-notebook
+pkgver=6.1.4
+pkgrel=3
+pkgdesc="The language-agnostic HTML notebook application for Project Jupyter"
+arch=('any')
+url="https://github.com/jupyter/notebook"
+license=('BSD')
+depends=('python-setuptools' 'python-jinja' 'python-tornado' 'python-terminado'
+ 'python-traitlets' 'jupyter-nbformat' 'python-jupyter_core'
+ 'python-jupyter_client' 'mathjax2' 'python-send2trash'
+ 'jupyter-nbconvert' 'python-prometheus_client' 'python-argon2_cffi')
+# Much of their official dependency tree appears inverted and circular?
+makedepends=('python-setuptools' 'npm' 'git')
+optdepends=('pandoc: notebook export')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/notebook/archive/$pkgver.tar.gz")
+md5sums=('eb81355187dad5e8f579be098d32db08')
+
+# todo: report bug that mathjax and nbconvert is no longer optional
+
+build() {
+ cd "$srcdir/notebook-$pkgver"
+
+ # FS45999 disable bundled mathjax
+ sed -i 's/^.*MathJax.*$//' bower.json
+ #sed -i '/Trim mathjax/,/^ static_data.append/d' setupbase.py
+ sed -i 's/ mj(/ #mj(/' setupbase.py
+
+ # needs node, downloads a lot of stuff
+ python3 setup.py build
+}
+
+package() {
+ cd "$srcdir/notebook-$pkgver"
+
+ # needs node
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ # FS45999 use system mathjax
+ ln -s /usr/share/mathjax2 \
+ "$pkgdir/usr/lib/python3.9/site-packages/notebook/static/components/MathJax"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list