# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=jupyter-notebook-shim pkgver=0.2.2 pkgrel=1 pkgdesc="Shim layer for notebook traits and config" url="https://github.com/jupyter/notebook_shim" # s390x, ppc64le: no jupyter-server arch="noarch !armhf !s390x !ppc64le" license="BSD-3-Clause" depends="jupyter-server" makedepends="py3-gpep517 py3-installer py3-hatchling" checkdepends="py3-pytest py3-pytest-tornasync" source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/notebook_shim/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/notebook_shim-$pkgver" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" d338039afe23b6acacc3048a00712c4bf700779efc7be2bc3a3ee8e0465b4fe6a6a8570f32593a58acd7e0ab9013454e1d72018acd56106d8da31b9ced14d71b jupyter-notebook-shim-0.2.2.tar.gz "