# -*- 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-xsdata
version             26.11.1
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         xsData is a complete data binding library for python allowing \
                    developers to access and use XML and JSON documents as simple \
                    objects rather than using DOM.
long_description    {*}${description} The code generator supports XML schemas, DTD, \
                    WSDL definitions, XML & JSON documents. It produces simple \
                    dataclasses with type hints and simple binding metadata.
homepage            https://github.com/tefra/xsdata

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  b6ecce0c1a314440b73e44498621651786039b1d \
                    sha256  e32e3fc32ff70243c99efe04dd61965d7f55e54e475ed9b55ba80c033438ac92 \
                    size    360171

python.versions     311 312 313 314 315

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-click \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-toposort \
                    port:ruff
}
