# -*- 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-jschema_to_python
version             1.2.3
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         Generate source code for Python classes from a JSON schema.
long_description    {*}${description}
homepage            https://github.com/microsoft/jschema-to-python

checksums           rmd160  1c686e44546e5ad515d6268206603f7073f5eeca \
                    sha256  76ff14fe5d304708ccad1284e4b11f96a658949a31ee7faed9e0995279549b91 \
                    size    10061

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-pbr

    depends_test-append port:py${python.version}-jsonpickle

    test.run        yes
}
