From f1b73dd3dfb289eae25d5f9cb68f64abfef94422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 24 May 2023 23:14:20 -0300 Subject: [PATCH] python3-nbclient: update to 0.8.0. --- srcpkgs/python3-nbclient/template | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/srcpkgs/python3-nbclient/template b/srcpkgs/python3-nbclient/template index 2b85205d417..9b2556aa536 100644 --- a/srcpkgs/python3-nbclient/template +++ b/srcpkgs/python3-nbclient/template @@ -1,19 +1,25 @@ # Template file for 'python3-nbclient' pkgname=python3-nbclient -version=0.7.0 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-traitlets python3-jupyter_client - python3-jupyter_nbformat python3-async_generator python3-nest_asyncio" +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 " 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=a1d844efd6da9bc39d2209bf996dbd8e07bf0f36b796edfabaa8f8a9ab77c3aa -# Package might need to be installed for testing -make_check=no +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