# -*- 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-pydantic-graph
version             2.5.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Graph and state machine library
long_description    {*}${description}

homepage            https://ai.pydantic.dev/graph

distname            pydantic_graph-${version}

checksums           rmd160  ebe70728561d7d68ce56835bb2072d47e21d927a \
                    sha256  b41ca881108a0584366966001badcd4792d4b19330a1f2c527512c3f1739aab5 \
                    size    43905

python.versions     313 314
python.pep517_backend hatch

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

    depends_lib-append \
                    port:py${python.version}-httpx \
                    port:py${python.version}-logfire-api \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-typing-inspection
}
