# -*- 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.21.1
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  60d339a25f1ad2562a5f0c8273def29a72906aec \
                    sha256  2313508e394b0d208f8f56892ca9b2799e2561329de9763b19619595a6c0f72c \
                    size    319193

python.versions     313 314

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
}
