void-packages/srcpkgs/python3-jupyter_notebook/template

28 lines
1.0 KiB
Bash

# Template file for 'python3-jupyter_notebook'
pkgname=python3-jupyter_notebook
version=6.4.10
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Jinja2 python3-terminado python3-tornado
python3-ipython_genutils python3-traitlets python3-jupyter_core
python3-jupyter_client python3-jupyter_nbformat python3-jupyter_nbconvert
python3-ipython_ipykernel python3-send2trash python3-prometheus_client
mathjax2 python3-argon2"
short_desc="Jupyter interactive notebook"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://jupyter.org/"
distfiles="${PYPI_SITE}/n/notebook/notebook-${version}.tar.gz"
checksum=2408a76bc6289283a8eecfca67e298ec83c67db51a4c2e1b713dd180bb39e90e
conflicts="python-jupyter_notebook<=5.7.0_2"
# Tests require unpackaged selenium
make_check=no
post_install() {
vlicense LICENSE
# use system mathjax
rm -rf ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
ln -sf /usr/share/mathjax ${DESTDIR}/${py3_sitelib}/notebook/static/components/MathJax
}