# -*- 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-marshmallow
version             4.2.2
revision            0
categories-append   devel
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Light-weight library for converting complex datatypes \
                    to and from native Python datatypes
long_description    {*}${description}
homepage            https://github.com/marshmallow-code/marshmallow

checksums           rmd160  1b3d815867b1df60605df8e53158dd5cad3990d8 \
                    sha256  ba40340683a2d1c15103647994ff2f6bc2c8c80da01904cbe5d96ee4baa78d9f \
                    size    221404
supported_archs     noarch

python.versions     310 311 312 313 314
python.pep517_backend \
                    flit

if {${subport} ne ${name}} {
    if {${python.version} < 311} {
        depends_lib-append \
            port:py${python.version}-backports-datetime-fromisoformat \
            port:py${python.version}-typing_extensions
    }
}
