# -*- 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-mistral-common
python.rootname     mistral_common
version             1.12.0
revision            0
categories-append   llm
license             Apache-2
maintainers         {i0ntempest @i0ntempest} openmaintainer
platforms           {darwin any}
supported_archs     noarch

description         Common utilities for working with Mistral AI models
long_description    ${python.rootname} provides tokenization, validation, and normalization utilities for Mistral AI models.
homepage            https://github.com/mistralai/mistral-common

checksums           rmd160  009e378ee60c33ba0d6e855746bc12908343408f \
                    sha256  d0f150926733cf422d4750ca19b47568df1f714557c9054a432b866f1f30bf52 \
                    size    6416138

python.versions     313 314

if {${name} ne ${subport}} {
    depends_lib-append \
        port:py${python.version}-Pillow \
        port:py${python.version}-jsonschema \
        port:py${python.version}-numpy \
        port:py${python.version}-pydantic \
        port:py${python.version}-pydantic-extra-types \
        port:py${python.version}-requests \
        port:py${python.version}-tiktoken \
        port:py${python.version}-typing_extensions

    livecheck.type  none
}
