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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 11:18:05 UTC 2021


    Date: Wednesday, December 1, 2021 @ 11:18:04
  Author: foutrelis
Revision: 1059156

archrelease: copy trunk to community-staging-any

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

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

Copied: python-ipykernel/repos/community-staging-any/PKGBUILD (from rev 1059155, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 11:18:04 UTC (rev 1059156)
@@ -0,0 +1,33 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipykernel
+pkgver=6.5.1
+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' 'python-debugpy')
+makedepends=('python-setuptools' 'ipython' 'python-jupyter_client')
+checkdepends=('python-pytest' 'python-mock' 'python-nose' 'python-flaky')
+source=("ipykernel-$pkgver.tgz::https://github.com/ipython/ipykernel/archive/v$pkgver.tar.gz")
+md5sums=('6242070a9c0fea90f671f2c560190403')
+
+# 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