diff --git a/srcpkgs/python3-jupyterlab_pygments/template b/srcpkgs/python3-jupyterlab_pygments/template index 034398f8cad..cf382fcb45a 100644 --- a/srcpkgs/python3-jupyterlab_pygments/template +++ b/srcpkgs/python3-jupyterlab_pygments/template @@ -1,18 +1,22 @@ # Template file for 'python3-jupyterlab_pygments' pkgname=python3-jupyterlab_pygments -version=0.1.2 -revision=4 -build_style=python3-module -hostmakedepends="python3-setuptools" +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 " license="BSD-3-Clause" homepage="https://github.com/jupyterlab/jupyterlab_pygments" distfiles="${PYPI_SITE}/j/jupyterlab_pygments/jupyterlab_pygments-${version}.tar.gz" -checksum=cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146 -# Upstream defines no tests -make_check=no +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