# -*- 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-sphinx-jsonschema
version             1.19.2

supported_archs     noarch
platforms           {darwin any}
license             GPL-3
maintainers         nomaintainer

description         Sphinx extension to display JSON Schema
long_description    {*}${description}

homepage            https://github.com/lnoor/sphinx-jsonschema

checksums           md5 092a51eeba96bd28a04c2c447f7c00c7 \
                    rmd160 f6adcc83f6be46c2632de5d1abef12f50f7c0f58 \
                    sha256 1a48954217c2b3c6759c89b9ddd2c8e5b668b8730564e0283b009f23932be150

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-jsonpointer \
                    port:py${python.version}-sphinx

    distname        sphinx_jsonschema-${version}
    worksrcdir      ${python.rootname}-${version}

    test.run        yes
}
