From 94fe53351c4233ada0e16a9d56fdb75f0ea95185 Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:45:41 +0200 Subject: [PATCH] python3-jupyter_nbformat: update to 5.1.3 --- srcpkgs/python3-jupyter_nbformat/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-jupyter_nbformat/template b/srcpkgs/python3-jupyter_nbformat/template index 4a04f11f5f..f8d21d621b 100644 --- a/srcpkgs/python3-jupyter_nbformat/template +++ b/srcpkgs/python3-jupyter_nbformat/template @@ -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 " 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() {