# -*- 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-msgspec
version             0.23.0
revision            0

categories-append   devel
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         A fast serialization and validation library, with builtin \
                    support for JSON, MessagePack, YAML, and TOML.
long_description    {*}${description}

homepage            https://jcristharif.com/msgspec

checksums           rmd160  f7769b1aeaded41ce11382cf7158c4e703995a4c \
                    sha256  a0d57d3ca7734542eb6861e72d974ab051e6cf73ea6b01b263f77170593362be \
                    size    378550

python.versions     312 313 314 315

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_run-append \
                    port:py${python.version}-yaml \
                    port:py${python.version}-tomli-w
}
