[arch-commits] Commit in (4 files)
Kyle Keen
kkeen at archlinux.org
Mon Oct 10 17:52:16 UTC 2016
Date: Monday, October 10, 2016 @ 17:52:15
Author: kkeen
Revision: 191887
pkginit: python-jupyter_client-4.4.0-1
Added:
python-jupyter_client/
python-jupyter_client/repos/
python-jupyter_client/trunk/
python-jupyter_client/trunk/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Added: python-jupyter_client/trunk/PKGBUILD
===================================================================
--- python-jupyter_client/trunk/PKGBUILD (rev 0)
+++ python-jupyter_client/trunk/PKGBUILD 2016-10-10 17:52:15 UTC (rev 191887)
@@ -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
+}
+
Property changes on: python-jupyter_client/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list