Date: Monday, April 4, 2022 @ 12:10:53 Author: arojas Revision: 1181269
Add missing jupyter-notebook dependency, run tests Modified: jupyter-nbclassic/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-04-04 12:03:53 UTC (rev 1181268) +++ PKGBUILD 2022-04-04 12:10:53 UTC (rev 1181269) @@ -3,13 +3,14 @@ _pipname=nbclassic pkgname=jupyter-$_pipname pkgver=0.3.7 -pkgrel=1 +pkgrel=2 pkgdesc='Jupyter Notebook as a Jupyter Server Extension' arch=(any) url='https://jupyter.org/' license=(custom) -depends=(jupyter-server jupyter-notebook-shim) +depends=(jupyter-server jupyter-notebook-shim jupyter-notebook) makedepends=(python-build python-installer) +checkdepends=(python-pytest-tornasync) source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz) sha256sums=('36dbaa88ffaf5dc05d149deb97504b86ba648f4a80a60b8a58ac94acab2daeb5') @@ -18,6 +19,11 @@ python -m build --wheel --no-isolation } +check() { + cd $_pipname-$pkgver + pytest -v +} + package() { cd $_pipname-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl
