# -*- 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.22.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  82ff98c9360ecf6a6e314f6a64fb839d03cced73 \
                    sha256  0a13624a4969159fe35d8c2a3d377b2b61bbd8585e327440d5e52725affcce38 \
                    size    343188

python.versions     312 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
}
