[arch-commits] Commit in jupyter-notebook/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Mar 14 21:06:26 UTC 2022
Date: Monday, March 14, 2022 @ 21:06:25
Author: arojas
Revision: 1153186
archrelease: copy trunk to community-any
Added:
jupyter-notebook/repos/community-any/PKGBUILD
(from rev 1153185, jupyter-notebook/trunk/PKGBUILD)
Deleted:
jupyter-notebook/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-14 21:06:16 UTC (rev 1153185)
+++ PKGBUILD 2022-03-14 21:06:25 UTC (rev 1153186)
@@ -1,51 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-notebook
-pkgver=6.4.8
-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=('416839de38977b544948f141b01b3b4b')
-
-# 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"
-}
Copied: jupyter-notebook/repos/community-any/PKGBUILD (from rev 1153185, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-14 21:06:25 UTC (rev 1153186)
@@ -0,0 +1,51 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-notebook
+pkgver=6.4.9
+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=('cbfce957842e8879ea4428c0c5e923cb')
+
+# 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