# -*- 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-genai-prices
version             0.0.66
revision            0

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

description         Calculate prices for calling LLM inference APIs.
long_description    {*}${description}

homepage            https://github.com/pydantic/genai-prices

distname            genai_prices-${version}

checksums           rmd160  b6bafd568df8fee587682103ad62fe0cb4c2d95a \
                    sha256  f087dfe56da28a4c3933dcf846cf2b7111ba733cef674c0cbc66de80212bcd6b \
                    size    71130

python.versions     313 314
python.pep517_backend uv

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-httpx \
                    port:py${python.version}-pydantic
}
