void-packages/srcpkgs/python3-jupyter_nbconvert/template

28 lines
1 KiB
Bash

# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
version=6.0.7
revision=1
wrksrc="nbconvert-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-mistune python3-Jinja2 python3-jupyterlab_pygments
python3-nbclient python3-jupyter_core python3-entrypoints python3-testpath
python3-bleach python3-pandocfilters python3-defusedxml"
checkdepends="python3-pytest python3-ipython_ipykernel
python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
short_desc="Converting Jupyter notebooks"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/nbconvert"
distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
checksum=cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002
conflicts="python-jupyter_nbconvert<=5.4.1_2"
do_check() {
# WebPDF export depends on unpackaged pyppeteer
python3 -m pytest -k 'not TestWebPDFExporter and not test_webpdf_with_chromium'
}
post_install() {
vlicense LICENSE
}