# -*- 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-mcp-types
# keep at the version of py-mcp, which requires exactly this version
version             2.3.0
revision            0

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

description         Model Context Protocol wire types
long_description    The wire types for the Model Context Protocol: the \
                    protocol message models, JSON-RPC envelope types, \
                    per-version surface validators and the protocol-version \
                    registry, used by the MCP Python SDK (py-mcp).

homepage            https://github.com/modelcontextprotocol/python-sdk

distname            mcp_types-${version}

checksums           rmd160  be3b25c633dc1101ec583848ce02c2c8316544c0 \
                    sha256  d1e46549edb35ee19a94940fcee6d1addd7e589ab7ea92dda83f5d84781fc362 \
                    size    65898

python.versions     313 314 315
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}-pydantic \
                    port:py${python.version}-typing_extensions
}
