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

Antonio Rojas arojas at gemini.archlinux.org
Tue Mar 29 21:45:50 UTC 2022


    Date: Tuesday, March 29, 2022 @ 21:45:49
  Author: arojas
Revision: 1177695

Run tests

Modified:
  python-jupyterlab_server/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-29 21:08:15 UTC (rev 1177694)
+++ PKGBUILD	2022-03-29 21:45:49 UTC (rev 1177695)
@@ -11,6 +11,7 @@
 license=(custom)
 depends=(jupyter-server python-requests python-json5 python-babel)
 makedepends=(python-build python-installer)
+checkdepends=(python-pytest-tornasync python-pytest-cov python-openapi-core python-strict-rfc3339 python-ruamel-yaml python-parse python-pip)
 conflicts=(jupyterlab_server)
 replaces=(jupyterlab_server)
 source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz)
@@ -21,6 +22,11 @@
   python -m build --wheel --no-isolation
 }
 
+check() {
+  cd $_pipname-$pkgver
+  pytest -v -k 'not test_translation_api.py'
+}
+
 package() {
   cd $_pipname-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl



More information about the arch-commits mailing list