void-packages/srcpkgs/python3-jupyter_nbformat/template

26 lines
878 B
Bash

# Template file for 'python3-jupyter_nbformat'
pkgname=python3-jupyter_nbformat
version=5.1.3
revision=1
wrksrc="nbformat-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jsonschema python3-traitlets
python3-ipython_genutils python3-jupyter_core"
checkdepends="python3-pytest python3-testpath $depends"
short_desc="Jupyter notebook format"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/nbformat"
distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
conflicts="python-jupyter_nbformat<=4.4.0_3"
do_check() {
# Tests require a non-existent notebook file
python3 -m pytest -k 'not test_upgrade_v4_to_4_dot_5 and not test_sample_notebook'
}
post_install() {
vlicense COPYING.md LICENSE
}