mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=jupyter-nbclient
|
|
pkgver=0.7.2
|
|
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"
|
|
options="!check" # circular dependency with jupyter-nbconvert
|
|
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="
|
|
17f1bfbfa156688e895ab1a0d0f74903f43c62a373a40cfcc50a654d86ebbaeb5ed101562716140a3878a9667bb131c49e06caf2e3127160700baf181cd1c29b jupyter-nbclient-0.7.2.tar.gz
|
|
"
|