# -*- 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.69
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  688e0fce962fa5a4d57d2753bf03e0b1c02abbb6 \
                    sha256  80ca72c4b59b62ef986be3f04ea528bf4aaac4bc91e1c34f32f354c0c0b23d16 \
                    size    81492

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
}
