# Template file for 'python3-jupyterlab_pygments'
pkgname=python3-jupyterlab_pygments
version=0.2.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-jupyter_packaging"
depends="python3-Pygments"
short_desc="Pygments theme making use of JupyterLab CSS variables"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/jupyterlab/jupyterlab_pygments"
distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz"
checksum=7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d
make_check=no  # Upstream defines no tests

post_patch() {
	# jupyterlab not really needed for building
	vsed -i -e 's|, "jupyterlab~=3.1"||' pyproject.toml
}

post_install() {
	vlicense LICENSE
}
