# -*- 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-nbformat
version             5.10.3
revision            0
license             BSD
supported_archs     noarch
platforms           {darwin any}

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

maintainers         {stromnov @stromnov} openmaintainer

description         The Jupyter Notebook format.
long_description    {*}${description}

homepage            https://jupyter.org

checksums           rmd160  5f37ff5f2b8b51c1495b93ef8227654cccd869d8 \
                    sha256  60ed5e910ef7c6264b87d644f276b1b49e24011930deef54605188ddeb211685 \
                    size    142678

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

    depends_lib-append  port:py${python.version}-fastjsonschema \
                        port:py${python.version}-jsonschema \
                        port:py${python.version}-jupyter_core \
                        port:py${python.version}-traitlets
}

