[arch-commits] Commit in python-jupyter_client/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Wed Mar 11 05:04:50 UTC 2020
Date: Wednesday, March 11, 2020 @ 05:04:50
Author: kkeen
Revision: 594077
upgpkg: python-jupyter_client 6.0.0-1
Modified:
python-jupyter_client/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++----------------------------
1 file changed, 7 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-11 04:44:36 UTC (rev 594076)
+++ PKGBUILD 2020-03-11 05:04:50 UTC (rev 594077)
@@ -1,9 +1,8 @@
# Maintainer: Kyle Keen <keenerd at gmail.com>
-pkgbase=python-jupyter_client
-pkgname=(python-jupyter_client python2-jupyter_client)
-pkgver=5.3.4
-pkgrel=4
+pkgname=python-jupyter_client
+pkgver=6.0.0
+pkgrel=1
pkgdesc="Jupyter protocol implementation and client libraries"
arch=('any')
url="https://pypi.python.org/pypi/jupyter_client"
@@ -10,39 +9,19 @@
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=('973df8f9aa47a15d3cd7f9cc9fa4aa82')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz")
+md5sums=('5a9f97e2415f61c1a94ce5bf0665fe77')
# dep cycle with python-ipykernel
-prepare() {
- cd "$srcdir"
- cp -r jupyter_client-$pkgver python2-jupyter_client-$pkgver
-}
-
build() {
cd "$srcdir"
}
-package_python-jupyter_client() {
+package() {
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