[arch-commits] Commit in python-jupyter_client/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 16 21:08:11 UTC 2020


    Date: Monday, November 16, 2020 @ 21:08:10
  Author: foutrelis
Revision: 755659

Add check()

Modified:
  python-jupyter_client/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 20:58:34 UTC (rev 755658)
+++ PKGBUILD	2020-11-16 21:08:10 UTC (rev 755659)
@@ -10,6 +10,7 @@
 depends=('python-ipykernel' 'python-traitlets' 'python-pyzmq'
          'python-jupyter_core' 'python-dateutil')
 makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-async_generator')
 #source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_client/archive/$pkgver.tar.gz")
 source=("https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-$pkgver.tar.gz")
 sha256sums=('49e390b36fe4b4226724704ea28d9fb903f1a3601b6882ce3105221cd09377a1')
@@ -20,6 +21,11 @@
   cd "$srcdir"
 }
 
+check() {
+  cd "$srcdir/jupyter_client-$pkgver"
+  pytest
+}
+
 package() {
   cd "$srcdir/jupyter_client-$pkgver"
   python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0



More information about the arch-commits mailing list