void-packages/srcpkgs/python3-nbclient/template

27 lines
1001 B
Bash

# Template file for 'python3-nbclient'
pkgname=python3-nbclient
version=0.10.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>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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=4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09
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
}