[arch-commits] Commit in jupyter-notebook/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Jun 7 17:17:10 UTC 2022
Date: Tuesday, June 7, 2022 @ 17:17:10
Author: arojas
Revision: 1228534
archrelease: copy trunk to community-any
Added:
jupyter-notebook/repos/community-any/PKGBUILD
(from rev 1228533, jupyter-notebook/trunk/PKGBUILD)
Deleted:
jupyter-notebook/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 17:16:48 UTC (rev 1228533)
+++ PKGBUILD 2022-06-07 17:17:10 UTC (rev 1228534)
@@ -1,47 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-notebook
-_pipname=notebook
-pkgver=6.4.11
-pkgrel=2
-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' 'python-ipython-genutils')
-# Much of their official dependency tree appears inverted and circular?
-makedepends=('python-build' 'python-installer' 'python-wheel' 'python-jupyter_packaging')
-checkdepends=('python-pytest' 'python-selenium' 'python-requests')
-optdepends=('pandoc: notebook export' 'jupyter-widgetsnbextension: interactive widgets')
-replaces=('jupyter')
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-md5sums=('d422490d81da301830a07065d3e1f8c9')
-
-# todo: report bug that mathjax and nbconvert is no longer optional
-
-build() {
- cd notebook-$pkgver
- python -m build --wheel --no-isolation
-}
-
-#check() {
-# cd notebook-$pkgver
-# pytest
-#}
-
-package() {
- cd notebook-$pkgver
-
- # needs node
- python -m installer --destdir="$pkgdir" dist/*.whl
- # FS45999 use system mathjax
- _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
- rm -r "$pkgdir"$_pythonpath/notebook/static/components/MathJax
- ln -s /usr/share/mathjax2 "$pkgdir"$_pythonpath/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 1228533, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-07 17:17:10 UTC (rev 1228534)
@@ -0,0 +1,47 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-notebook
+_pipname=notebook
+pkgver=6.4.12
+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' 'python-ipython-genutils')
+# Much of their official dependency tree appears inverted and circular?
+makedepends=('python-build' 'python-installer' 'python-wheel' 'python-jupyter_packaging')
+checkdepends=('python-pytest' 'python-selenium' 'python-requests')
+optdepends=('pandoc: notebook export' 'jupyter-widgetsnbextension: interactive widgets')
+replaces=('jupyter')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+md5sums=('90a5b998e496ed4c18975d3a42960df0')
+
+# todo: report bug that mathjax and nbconvert is no longer optional
+
+build() {
+ cd notebook-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+#check() {
+# cd notebook-$pkgver
+# pytest
+#}
+
+package() {
+ cd notebook-$pkgver
+
+ # needs node
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ # FS45999 use system mathjax
+ _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+ rm -r "$pkgdir"$_pythonpath/notebook/static/components/MathJax
+ ln -s /usr/share/mathjax2 "$pkgdir"$_pythonpath/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