python3-jupyter_nbconvert: update to 7.9.2, adopt.

This commit is contained in:
Gonzalo Tornaría 2023-05-25 15:11:44 -03:00 committed by Andrew J. Hesford
parent a64a8ba62a
commit f158da48db
2 changed files with 24 additions and 18 deletions

View file

@ -1,2 +0,0 @@
To convert notebooks to formats other than HTML and markdown install
python3-Sphinx and/or pandoc.

View file

@ -1,26 +1,34 @@
# Template file for 'python3-jupyter_nbconvert'
pkgname=python3-jupyter_nbconvert
version=6.4.5
revision=3
build_style=python3-module
# WebPDF export depends on unpackaged pyppeteer
make_check_args="-m not(network) -k not(test_webpdf_without_chromium)"
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
python3-BeautifulSoup4"
checkdepends="python3-pytest python3-ipython_ipykernel
python3-jupyter_ipywidgets python3-Pebble pandoc inkscape $depends"
version=7.9.2
revision=1
build_style=python3-pep517
# these two tests require nbconvert.tests (not installed)
make_check_args="-k not((test_convert_full_qualified_name)or(test_post_processor))"
hostmakedepends="hatchling"
depends="python3-BeautifulSoup4 python3-bleach python3-defusedxml
python3-Jinja2 python3-jupyter_core python3-jupyterlab_pygments
python3-MarkupSafe python3-mistune python3-nbclient
python3-jupyter_nbformat python3-packaging python3-pandocfilters
python3-tinycss2"
checkdepends="$depends python3-pytest python3-jupyter_ipywidgets
asciidoc inkscape pandoc python3-flaky python3-PyQt5"
short_desc="Converting Jupyter notebooks"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/nbconvert"
changelog="https://raw.githubusercontent.com/jupyter/nbconvert/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz"
checksum=21163a8e2073c07109ca8f398836e45efdba2aacea68d6f75a8a545fef070d4e
conflicts="python-jupyter_nbconvert<=5.4.1_2"
checksum=e56cc7588acc4f93e2bb5a34ec69028e4941797b2bfaf6462f18a41d1cc258c9
pre_check() {
# templates must be in $JUPYTER_DATA_DIR/nbconvert/templates
# but they are in ${wrksrc}/share/templates
# fix with a symlink share/nbconvert -> share/.
[ -d share/nbconvert ] || ln -s . share/nbconvert
make_check_pre="env JUPYTER_DATA_DIR=${wrksrc}/share"
}
post_install() {
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}