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

Evangelos Foutras foutrelis at archlinux.org
Wed Jul 18 01:49:28 UTC 2018


    Date: Wednesday, July 18, 2018 @ 01:49:28
  Author: foutrelis
Revision: 361211

archrelease: copy trunk to community-staging-any

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

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

Copied: python-jupyter_client/repos/community-staging-any/PKGBUILD (from rev 361210, python-jupyter_client/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-18 01:49:28 UTC (rev 361211)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-jupyter_client
+pkgname=(python-jupyter_client python2-jupyter_client)
+pkgver=5.2.2
+pkgrel=2
+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' 'python-dateutil')
+makedepends=('python-setuptools' 'python2-setuptools'
+             'python2-ipykernel' 'python2-traitlets' 'python2-pyzmq'
+             'python2-jupyter_core')
+source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz")
+md5sums=('a12c044022e5c512df14e02bec095cd6')
+
+# dep cycle with python-ipykernel
+
+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' 'python2-dateutil')
+
+  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-*
+  rmdir bin
+}
+



More information about the arch-commits mailing list