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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 16 21:18:54 UTC 2020


    Date: Monday, November 16, 2020 @ 21:18:54
  Author: foutrelis
Revision: 755662

Switch to sha256sums; add check()

Modified:
  python-jupyter_core/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-16 21:13:58 UTC (rev 755661)
+++ PKGBUILD	2020-11-16 21:18:54 UTC (rev 755662)
@@ -9,8 +9,9 @@
 license=('BSD')
 depends=('python-traitlets')
 makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-nose')
 source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz")
-md5sums=('29a4969de5c6a79d35d4ad2857489268')
+sha256sums=('ae2da229683fd091286c05acbbbac1b5279031a0454c0106b2547ba853ad2ac8')
 
 prepare() {
   cd "$srcdir/jupyter_core-$pkgver"
@@ -20,6 +21,13 @@
   cd "$srcdir"
 }
 
+check() {
+  cd "$srcdir/jupyter_core-$pkgver"
+  pytest \
+    --deselect jupyter_core/tests/test_command.py::test_not_on_path \
+    --deselect jupyter_core/tests/test_command.py::test_path_priority
+}
+
 package() {
   cd "$srcdir/jupyter_core-$pkgver"
   python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0



More information about the arch-commits mailing list