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

Antonio Rojas arojas at gemini.archlinux.org
Wed Mar 16 08:19:41 UTC 2022


    Date: Wednesday, March 16, 2022 @ 08:19:41
  Author: arojas
Revision: 1155317

Run tests

Modified:
  python-ipywidgets/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-16 08:18:22 UTC (rev 1155316)
+++ PKGBUILD	2022-03-16 08:19:41 UTC (rev 1155317)
@@ -3,7 +3,7 @@
 pkgname=python-ipywidgets
 _pipname=ipywidgets
 pkgver=7.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="IPython widgets for the Jupyter Notebook"
 arch=('any')
 url="https://github.com/ipython/ipywidgets"
@@ -10,6 +10,7 @@
 license=('BSD')
 depends=('python' 'jupyter-widgetsnbextension')
 makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-pytest')
 source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
 md5sums=('61deb9024c3de1848812b97c2560d0cf')
 
@@ -18,6 +19,11 @@
   python -m build --wheel --no-isolation
 }
 
+check() {
+  cd ipywidgets-$pkgver
+  pytest -vv
+}
+
 package() {
   cd ipywidgets-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl



More information about the arch-commits mailing list