2023-10-10 12:29:16 -04:00

27 lines
958 B
Bash

# Template file for 'python3-nbclient'
pkgname=python3-nbclient
version=0.8.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=f9b179cd4b2d7bca965f900a2ebf0db4a12ebff2f36a711cb66861e4ae158e55
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
}