# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=jupyter-notebook-shim pkgver=0.2.3 pkgrel=0 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-jupyter py3-pytest-tornasync" subpackages="$pkgname-pyc" 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=" 2471f5f2ecf229463aaa898a94c3d9bf8614c208c2de37e4b604ed44b244fa4aabb849cd40243c688174ff3699aaaf74d61a9bcd18e6a15a8cef396a79d563b9 jupyter-notebook-shim-0.2.3.tar.gz "