[arch-commits] Commit in jupyter-notebook/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jan 23 09:55:55 UTC 2022
Date: Sunday, January 23, 2022 @ 09:55:55
Author: arojas
Revision: 1113555
archrelease: copy trunk to community-any
Added:
jupyter-notebook/repos/community-any/PKGBUILD
(from rev 1113554, jupyter-notebook/trunk/PKGBUILD)
Deleted:
jupyter-notebook/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 51 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-23 09:55:45 UTC (rev 1113554)
+++ PKGBUILD 2022-01-23 09:55:55 UTC (rev 1113555)
@@ -1,45 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-notebook
-pkgver=6.4.4
-pkgrel=4
-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=('b0f30f612f08aa0e360444a261886c9a')
-
-# 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.10/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 1113554, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-23 09:55:55 UTC (rev 1113555)
@@ -0,0 +1,51 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-notebook
+pkgver=6.4.7
+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')
+#checkdepends=('python-pytest' 'python-selenium' 'python-requests')
+optdepends=('pandoc: notebook export')
+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 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
+ python setup.py build
+}
+
+#check() {
+# cd notebook-$pkgver
+# python setup.py test
+#}
+
+package() {
+ cd notebook-$pkgver
+
+ # needs node
+ 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"
+
+ 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