# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=jupyter-nbclient pkgver=0.8.0 pkgrel=0 pkgdesc="Client library for executing notebooks" url="https://github.com/jupyter/nbclient" arch="noarch" license="BSD-3-Clause" depends=" py3-jupyter_client jupyter-nbformat py3-nest_asyncio py3-traitlets " makedepends="py3-gpep517 py3-hatchling" checkdepends="py3-pytest py3-xmltodict jupyter-nbconvert py3-ipykernel py3-flaky" options="!check" # circular dependency with jupyter-nbconvert subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/nbclient/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/nbclient-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest \ --deselect nbclient/tests/test_client.py::TestExecute::test_widgets \ --deselect nbclient/tests/test_client.py::test_run_all_notebooks } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl } sha512sums=" f77ecba2f03a8886e8a2335e1d345fcc1d3a1726b458d151a8c78b85c621017cd96f1ef30e4532bf61b89c92aea128a364f5e9677858951f5d070c6206a01816 jupyter-nbclient-0.8.0.tar.gz "