[arch-commits] Commit in python-ipykernel/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Oct 27 07:02:48 UTC 2019
Date: Sunday, October 27, 2019 @ 07:02:46
Author: felixonmars
Revision: 520705
archrelease: copy trunk to community-staging-any
Added:
python-ipykernel/repos/community-staging-any/
python-ipykernel/repos/community-staging-any/PKGBUILD
(from rev 520704, python-ipykernel/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-ipykernel/repos/community-staging-any/PKGBUILD (from rev 520704, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-27 07:02:46 UTC (rev 520705)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipykernel
+pkgver=5.1.3
+pkgrel=2
+pkgdesc="The ipython kernel for Jupyter"
+arch=('any')
+url="https://pypi.org/project/ipykernel/"
+license=('BSD')
+ depends=('python-traitlets' 'python-tornado' 'ipython' 'python-jupyter_client')
+makedepends=('python-setuptools' 'ipython' 'python-jupyter_client')
+checkdepends=('python-pytest' 'python-mock' 'python-nose')
+source=("ipykernel-$pkgver.tgz::https://github.com/ipython/ipykernel/archive/v$pkgver.tar.gz")
+md5sums=('adebdeae3181851486a0eefd79aa2cf5')
+
+# dep cycle with python-jupyter_client
+
+build() {
+ cd "$srcdir/ipykernel-$pkgver"
+ python3 setup.py build
+}
+
+check() {
+ cd "$srcdir/ipykernel-$pkgver"
+ #python3 -m pytest
+ # tests fail both locally and in a chroot, for different reasons
+}
+
+package() {
+ cd "$srcdir/ipykernel-$pkgver"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list