[arch-commits] Commit in jupyter/repos/community-staging-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Sun Mar 6 16:08:11 UTC 2016


    Date: Sunday, March 6, 2016 @ 17:08:11
  Author: kkeen
Revision: 165390

archrelease: copy trunk to community-staging-any

Added:
  jupyter/repos/community-staging-any/PKGBUILD
    (from rev 165389, jupyter/trunk/PKGBUILD)
Deleted:
  jupyter/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  240 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 120 insertions(+), 120 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-06 16:02:21 UTC (rev 165389)
+++ PKGBUILD	2016-03-06 16:08:11 UTC (rev 165390)
@@ -1,120 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=jupyter
-pkgname=(jupyter ipython2-notebook)
-pkgver=4.0.6
-pkgrel=7
-pkgdesc="A language-agnostic web-based interactive shell/notebook server."
-arch=('any')
-url="http://jupyter.org/"
-license=('BSD')
-depends=('ipython' 'python-ipykernel' 'python-setuptools'
-         'python-jinja' 'python-pyzmq' 'python-jsonschema'
-         'python-mistune' 'python-pygments')
-makedepends=('python-setuptools' 'python2-setuptools' 'npm' 'git')
-optdepends=('pandoc: notebook conversion'
-            'qt5-svg: jupyter-qtconsole'
-            'python-pyqt5: jupyter-qtconsole'
-            'python-sip: jupyter-qtconsole')
-
-# todo: figure out which deps left with jupyter-notebook
-
-# rebundle all the parts that were split out
-# but split them out officially over time
-_ipywv=4.1.1  # ipywidgets
-_jnbcv=4.1.0  # notebook convert
-_jnbfv=4.0.1  # notebook format
-_jconv=4.1.0  # jupyter console
-_jcliv=4.1.1  # jupyter client
-_qtcv=4.1.1   # qtconsole
-
-source=("jupyter_core-$pkgver.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz"
-        "ipywidgets-$_ipywv.tgz::https://github.com/ipython/ipywidgets/archive/$_ipywv.tar.gz"
-        "nbconvert-$_jnbcv.tgz::https://github.com/jupyter/nbconvert/archive/$_jnbcv.tar.gz"
-        "nbformat-$_jnbfv.tgz::https://github.com/jupyter/nbformat/archive/$_jnbfv.tar.gz"
-        "jupyter_console-$_jconv.tgz::https://github.com/jupyter/jupyter_console/archive/$_jconv.tar.gz"
-        "jupyter_client-$_jcliv.tgz::https://github.com/jupyter/jupyter_client/archive/$_jcliv.tar.gz"
-        "qtconsole-$_qtcv.tgz::https://github.com/jupyter/qtconsole/archive/$_qtcv.tar.gz")
-md5sums=('50a73c3a4a8ed047a3674d2b5274cc3b'
-         '099e9b76c52839dc33604aad7a2f1a42'
-         '06655576713ba1ff7cece2b92760c187'
-         'ab7172e517c9d561c0c01eef5631b4c8'
-         '9c655076262760bdbeeada9d7f586237'
-         '8436e4a3266a442f576cdfef39dc0e19'
-         '09edb4932e59a07f26ff1fd492c9f740')
-
-# qtconsole deps?
-# python-pyqt5 python-sip python-pygments python-pyzmq
-
-prepare() {
-  cd "$srcdir"
-  cp -r jupyter_core-$pkgver   python2-jupyter_core-$pkgver
-  cp -r jupyter_client-$_jcliv python2-jupyter_client-$_jcliv
-  cp -r qtconsole-$_qtcv       python2-qtconsole-$_qtcv
-}
-
-build() {
-  cd "$srcdir/ipywidgets-$_ipywv"
-  # needs node, downloads a lot of stuff
-  python3 setup.py build
-}
-
-package_jupyter() {
-  cd "$srcdir/jupyter_core-$pkgver"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/ipywidgets-$_ipywv"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/nbconvert-$_jnbcv"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/nbformat-$_jnbfv"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/jupyter_console-$_jconv"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/jupyter_client-$_jcliv"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/qtconsole-$_qtcv"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  cd examples
-  # FS#47046 fix .desktop icon
-  sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.5/site-packages/qtconsole/resources/icon/JupyterConsole.svg|' \
-    jupyter-qtconsole.desktop
-  install -Dm644 jupyter-qtconsole.desktop \
-    "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
-
-  cd "$srcdir"
-  install -Dm644 "jupyter_core-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_ipython2-notebook() {
-  pkgdesc="An enhanced Interactive Python2 shell."
-  depends=('ipython2' 'python2-ipykernel' 'python2-pyzmq')
-  optdepends=('python2-pyqt5: jupyter-qtconsole-py2'
-              'qt5-svg: jupyter-qtconsole-py2'
-              'python2-sip: jupyter-qtconsole-py2')
-
-  cd "$srcdir/python2-jupyter_core-$pkgver"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/python2-jupyter_client-$_jcliv"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/python2-qtconsole-$_qtcv"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$pkgdir/usr/bin"
-  rm jupyter
-  rm jupyter-kernelspec
-  rm jupyter-migrate
-  mv jupyter-qtconsole jupyter-qtconsole-py2
-
-  cd "$srcdir"
-  install -Dm644 "jupyter_core-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: jupyter/repos/community-staging-any/PKGBUILD (from rev 165389, jupyter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-03-06 16:08:11 UTC (rev 165390)
@@ -0,0 +1,120 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=jupyter
+pkgname=(jupyter ipython2-notebook)
+pkgver=4.0.6
+pkgrel=7
+pkgdesc="A language-agnostic web-based interactive shell/notebook server."
+arch=('any')
+url="http://jupyter.org/"
+license=('BSD')
+depends=('ipython' 'python-ipykernel' 'python-setuptools'
+         'python-jinja' 'python-pyzmq' 'python-jsonschema'
+         'python-mistune' 'python-pygments')
+makedepends=('python-setuptools' 'python2-setuptools' 'npm' 'git')
+optdepends=('pandoc: notebook conversion'
+            'qt5-svg: jupyter-qtconsole'
+            'python-pyqt5: jupyter-qtconsole'
+            'python-sip: jupyter-qtconsole')
+
+# todo: figure out which deps left with jupyter-notebook
+
+# rebundle all the parts that were split out
+# but split them out officially over time
+_ipywv=4.1.1  # ipywidgets
+_jnbcv=4.1.0  # notebook convert
+_jnbfv=4.0.1  # notebook format
+_jconv=4.1.0  # jupyter console
+_jcliv=4.1.1  # jupyter client
+_qtcv=4.1.1   # qtconsole
+
+source=("jupyter_core-$pkgver.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz"
+        "ipywidgets-$_ipywv.tgz::https://github.com/ipython/ipywidgets/archive/$_ipywv.tar.gz"
+        "nbconvert-$_jnbcv.tgz::https://github.com/jupyter/nbconvert/archive/$_jnbcv.tar.gz"
+        "nbformat-$_jnbfv.tgz::https://github.com/jupyter/nbformat/archive/$_jnbfv.tar.gz"
+        "jupyter_console-$_jconv.tgz::https://github.com/jupyter/jupyter_console/archive/$_jconv.tar.gz"
+        "jupyter_client-$_jcliv.tgz::https://github.com/jupyter/jupyter_client/archive/$_jcliv.tar.gz"
+        "qtconsole-$_qtcv.tgz::https://github.com/jupyter/qtconsole/archive/$_qtcv.tar.gz")
+md5sums=('50a73c3a4a8ed047a3674d2b5274cc3b'
+         '099e9b76c52839dc33604aad7a2f1a42'
+         '06655576713ba1ff7cece2b92760c187'
+         'ab7172e517c9d561c0c01eef5631b4c8'
+         '9c655076262760bdbeeada9d7f586237'
+         '8436e4a3266a442f576cdfef39dc0e19'
+         '09edb4932e59a07f26ff1fd492c9f740')
+
+# qtconsole deps?
+# python-pyqt5 python-sip python-pygments python-pyzmq
+
+prepare() {
+  cd "$srcdir"
+  cp -r jupyter_core-$pkgver   python2-jupyter_core-$pkgver
+  cp -r jupyter_client-$_jcliv python2-jupyter_client-$_jcliv
+  cp -r qtconsole-$_qtcv       python2-qtconsole-$_qtcv
+}
+
+build() {
+  cd "$srcdir/ipywidgets-$_ipywv"
+  # needs node, downloads a lot of stuff
+  python3 setup.py build
+}
+
+package_jupyter() {
+  cd "$srcdir/jupyter_core-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/ipywidgets-$_ipywv"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/nbconvert-$_jnbcv"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/nbformat-$_jnbfv"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/jupyter_console-$_jconv"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/jupyter_client-$_jcliv"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/qtconsole-$_qtcv"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  cd examples
+  # FS#47046 fix .desktop icon
+  sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.5/site-packages/qtconsole/resources/icon/JupyterConsole.svg|' \
+    jupyter-qtconsole.desktop
+  install -Dm644 jupyter-qtconsole.desktop \
+    "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
+
+  cd "$srcdir"
+  install -Dm644 "jupyter_core-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_ipython2-notebook() {
+  pkgdesc="An enhanced Interactive Python2 shell."
+  depends=('ipython2' 'python2-ipykernel' 'python2-pyzmq')
+  optdepends=('python2-pyqt5: jupyter-qtconsole-py2'
+              'qt5-svg: jupyter-qtconsole-py2'
+              'python2-sip: jupyter-qtconsole-py2')
+
+  cd "$srcdir/python2-jupyter_core-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/python2-jupyter_client-$_jcliv"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/python2-qtconsole-$_qtcv"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$pkgdir/usr/bin"
+  rm jupyter
+  rm jupyter-kernelspec
+  rm jupyter-migrate
+  mv jupyter-qtconsole jupyter-qtconsole-py2
+
+  cd "$srcdir"
+  install -Dm644 "jupyter_core-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list