mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-11 07:12:56 +02:00
27 lines
1 KiB
Bash
27 lines
1 KiB
Bash
# Template file for 'python3-nbclassic'
|
|
pkgname=python3-nbclassic
|
|
version=1.3.1
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="hatchling hatch-jupyter-builder python3-jupyter_server
|
|
python3-setuptools python3-Babel yarn"
|
|
depends="mathjax2 python3-ipython_ipykernel python3-ipython_genutils
|
|
python3-nest_asyncio python3-notebook_shim"
|
|
checkdepends="$depends python3-pytest-jupyter"
|
|
short_desc="Jupyter Notebook as a Jupyter Server Extension"
|
|
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/jupyter/nbclassic"
|
|
changelog="https://raw.githubusercontent.com/jupyter/nbclassic/main/CHANGELOG.md"
|
|
distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
|
|
checksum=4c52da8fc88f9f73ef512cc305091d5ce726bdca19f44ed697cb5ba12dcaad3c
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
mv ${DESTDIR}/usr/etc ${DESTDIR}
|
|
|
|
# use system mathjax2
|
|
local _mathjax="${DESTDIR}/${py3_sitelib}/nbclassic/static/components/MathJax"
|
|
rm -r "${_mathjax}"
|
|
ln -s /usr/share/mathjax "${_mathjax}"
|
|
}
|