void-packages/srcpkgs/python3-jupyter_nbformat/template

28 lines
844 B
Bash

# Template file for 'python3-jupyter_nbformat'
pkgname=python3-jupyter_nbformat
version=5.0.4
revision=2
wrksrc="nbformat-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jsonschema>=2.6.0 python3-traitlets>=4.1
python3-ipython_genutils python3-jupyter_core"
checkdepends="python3-pytest python3-testpath
python3-jsonschema python3-traitlets
python3-ipython_genutils python3-jupyter_core"
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=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
conflicts="python-jupyter_nbformat<=4.4.0_3"
do_check() {
pytest
}
post_install() {
vlicense COPYING.md LICENSE
}