# -*- 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.3.0
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  a95e7b17e123ddc93c34639c67344017d55341e7 \
                    sha256  fb43c53b3fe240b8f6af37223d6ef1636f927ad9bea8ab323afad95dff090880 \
                    size    224485
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
    }
}
