python3-jupyter_nbformat: update to 5.1.3

This commit is contained in:
dkwo 2021-05-14 17:45:41 +02:00 committed by Andrew J. Hesford
parent fe644d1126
commit 94fe53351c

View file

@ -1,25 +1,24 @@
# Template file for 'python3-jupyter_nbformat'
pkgname=python3-jupyter_nbformat
version=5.0.4
revision=2
version=5.1.3
revision=1
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
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=562de41fc7f4f481b79ab5d683279bf3a168858268d4387b489b7b02be0b324a
checksum=b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8
conflicts="python-jupyter_nbformat<=4.4.0_3"
do_check() {
pytest
# 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() {