[arch-commits] Commit in python-jupyter_client/repos (2 files)

Kyle Keen kkeen at archlinux.org
Mon Oct 10 17:54:25 UTC 2016


    Date: Monday, October 10, 2016 @ 17:54:24
  Author: kkeen
Revision: 191888

archrelease: copy trunk to community-any

Added:
  python-jupyter_client/repos/community-any/
  python-jupyter_client/repos/community-any/PKGBUILD
    (from rev 191887, python-jupyter_client/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: python-jupyter_client/repos/community-any/PKGBUILD (from rev 191887, python-jupyter_client/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-10-10 17:54:24 UTC (rev 191888)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-jupyter_client
+pkgname=(python-jupyter_client python2-jupyter_client)
+pkgver=4.4.0
+pkgrel=1
+pkgdesc="Jupyter protocol implementation and client libraries"
+arch=('any')
+url="https://pypi.python.org/pypi/jupyter_client"
+license=('BSD')
+depends=('python-ipykernel' 'python-traitlets' 'python-pyzmq'
+         'python-jupyter_core')
+makedepends=('python-setuptools' 'python2-setuptools'
+             'python2-ipykernel' 'python2-traitlets' 'python2-pyzmq'
+             'python2-jupyter_core')
+
+source=("https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz")
+md5sums=('a0bd6fe6ba7c504fbc962a88a2a56a90')
+
+prepare() {
+  cd "$srcdir"
+  cp -r jupyter_client-$pkgver python2-jupyter_client-$pkgver
+}
+
+build() {
+  cd "$srcdir"
+}
+
+package_python-jupyter_client() {
+  cd "$srcdir/jupyter_client-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-jupyter_client() {
+  depends=('python2-ipykernel' 'python2-traitlets' 'python2-pyzmq'
+           'python2-jupyter_core')
+
+  cd "$srcdir/python2-jupyter_client-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  cd "$pkgdir/usr"
+  rm bin/jupyter-kernelspec
+  rmdir bin
+}
+



More information about the arch-commits mailing list