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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 19:24:12 UTC 2020


    Date: Monday, November 9, 2020 @ 19:24:12
  Author: foutrelis
Revision: 748063

archrelease: copy trunk to community-staging-any

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

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

Copied: python-ipykernel/repos/community-staging-any/PKGBUILD (from rev 748060, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:24:12 UTC (rev 748063)
@@ -0,0 +1,33 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipykernel
+pkgver=5.3.4
+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/$pkgver.tar.gz")
+md5sums=('3467e017793c4db615b4bdb9c4f8dcce')
+
+# 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