void-packages/srcpkgs/python3-nbclient/template

27 lines
958 B
Bash

# Template file for 'python3-nbclient'
pkgname=python3-nbclient
version=0.9.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-jupyter_client python3-jupyter_nbformat"
checkdepends="$depends python3-pytest-asyncio python3-testpath
python3-flaky python3-jupyter_ipywidgets python3-xmltodict"
short_desc="Client library for executing Jupyter notebooks"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-3-Clause"
homepage="https://nbclient.readthedocs.io/en/latest/"
changelog="https://raw.githubusercontent.com/jupyter/nbclient/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/nbclient/nbclient-${version}.tar.gz"
checksum=4b28c207877cf33ef3a9838cdc7a54c5ceff981194a82eac59d558f05487295e
make_check=extended # avoid a circular dependency
if [ "$XBPS_CHECK_PKGS" = full ]; then
# this would cause a build-time circular dependency
checkdepends+=" python3-jupyter_nbconvert"
fi
post_install() {
vlicense LICENSE
}