[arch-commits] Commit in jupyter-notebook/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at gemini.archlinux.org
Thu Sep 2 09:14:37 UTC 2021
Date: Thursday, September 2, 2021 @ 09:14:36
Author: kkeen
Revision: 1010544
archrelease: copy trunk to community-any
Added:
jupyter-notebook/repos/community-any/PKGBUILD
(from rev 1010543, jupyter-notebook/trunk/PKGBUILD)
Deleted:
jupyter-notebook/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-02 09:14:17 UTC (rev 1010543)
+++ PKGBUILD 2021-09-02 09:14:36 UTC (rev 1010544)
@@ -1,45 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-notebook
-pkgver=6.3.0
-pkgrel=1
-pkgdesc="The language-agnostic HTML notebook application for Project Jupyter"
-arch=('any')
-url="https://github.com/jupyter/notebook"
-license=('BSD')
-depends=('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=('03e24007cb39207d7b0c99d51a8aab50')
-
-# 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"
- install -Dm644 jupyter-notebook.desktop "$pkgdir/usr/share/applications/jupyter-notebook.desktop"
-}
Copied: jupyter-notebook/repos/community-any/PKGBUILD (from rev 1010543, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-02 09:14:36 UTC (rev 1010544)
@@ -0,0 +1,45 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-notebook
+pkgver=6.4.3
+pkgrel=1
+pkgdesc="The language-agnostic HTML notebook application for Project Jupyter"
+arch=('any')
+url="https://github.com/jupyter/notebook"
+license=('BSD')
+depends=('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/v$pkgver.tar.gz")
+md5sums=('7b53c6f25075e1e73decebc0b53d1e18')
+
+# 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"
+ install -Dm644 jupyter-notebook.desktop "$pkgdir/usr/share/applications/jupyter-notebook.desktop"
+}
More information about the arch-commits
mailing list