[arch-commits] Commit in jupyter-notebook/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Fri Oct 14 01:40:13 UTC 2016
Date: Friday, October 14, 2016 @ 01:40:12
Author: kkeen
Revision: 192213
archrelease: copy trunk to community-any
Added:
jupyter-notebook/repos/community-any/PKGBUILD
(from rev 192212, jupyter-notebook/trunk/PKGBUILD)
Deleted:
jupyter-notebook/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-14 01:39:48 UTC (rev 192212)
+++ PKGBUILD 2016-10-14 01:40:12 UTC (rev 192213)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-notebook
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="The language-agnostic HTML notebook application for Project Jupyter"
-arch=('any')
-url="https://github.com/jupyter/notebook"
-license=('BSD')
-depends=('jupyter' 'python-setuptools' 'python-jinja' 'python-tornado' 'python-terminado')
-makedepends=('python-setuptools' 'npm' 'git')
-optdepends=('mathjax: latex equation rendering'
- 'pandoc: notebook export')
-md5sums=('136be6b72fe9db7f0269dc7fa5652a62')
-
-# depends are going to be a little weird
-# removed: ipython python-pyzmq python-jsonschema python-mistune python-pygments
-
-source=("https://github.com/jupyter/notebook/archive/$pkgver.tar.gz")
-
-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/mathjax \
- "$pkgdir/usr/lib/python3.5/site-packages/notebook/static/components/MathJax"
-
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
Copied: jupyter-notebook/repos/community-any/PKGBUILD (from rev 192212, jupyter-notebook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-14 01:40:12 UTC (rev 192213)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-notebook
+pkgver=4.2.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-setuptools' 'python-jinja' 'python-tornado' 'python-terminado'
+ 'python-traitlets' 'jupyter-nbformat' 'python-jupyter_core'
+ 'python-jupyter_client')
+# Also depends on jupyter-nbconvert but that is optional elsewhere.
+# Much of their official dependency tree appears inverted?
+makedepends=('python-setuptools' 'npm' 'git')
+optdepends=('mathjax: latex equation rendering'
+ 'pandoc: notebook export')
+source=("https://github.com/jupyter/notebook/archive/$pkgver.tar.gz")
+md5sums=('5c6b0b1303adacd8972c4db21eda3e98')
+
+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/mathjax \
+ "$pkgdir/usr/lib/python3.5/site-packages/notebook/static/components/MathJax"
+
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list