# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-jupyterlab_pygments
version             0.3.0
revision            0
categories-append   textproc
platforms           {darwin any}
license             BSD
supported_archs     noarch

python.versions     310 311 312 313 314
python.pep517_backend   hatch

maintainers         {stromnov @stromnov} openmaintainer

description         JupyterLab Pygments Theme
long_description    {*}${description}

homepage            https://jupyter.org/

checksums           rmd160  237ef9fcbd5a2c7cbd774ddfcddd4b761627742f \
                    sha256  721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d \
                    size    512900

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-jupyterlab \
                        port:py${python.version}-hatch-nodejs-version \
                        port:py${python.version}-hatch-jupyter-builder

    depends_run-append  port:py${python.version}-pygments

    patchfiles-append   patch-pyproject.toml.diff
}
