# -*- 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-gradio
version             6.15.2
revision            0
categories-append   devel
license             Apache-2
supported_archs     noarch
platforms           {darwin any}

python.versions     313 314

python.pep517_backend   hatch

maintainers         {pguyot @pguyot} openmaintainer

description         Create UIs for your machine learning model
long_description    Gradio is the fastest way to demo your machine \
                    learning model with a friendly web interface

homepage            https://gradio.app

checksums           rmd160  b52f224d21a5e3ae8bd924dd0f09d241f271e7c4 \
                    sha256  67433b1889dc8526658196277ca9e34109f73aa65656635c0dc6afb542571f55 \
                    size    36432997

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-hatch-fancy-pypi-readme \
                    port:py${python.version}-hatch-requirements-txt

    depends_lib-append \
                    port:py${python.version}-anyio \
                    port:py${python.version}-brotli \
                    port:py${python.version}-fastapi \
                    port:py${python.version}-gradio-client \
                    port:py${python.version}-groovy \
                    port:py${python.version}-hf-gradio \
                    port:py${python.version}-httpx \
                    port:py${python.version}-huggingface_hub \
                    port:py${python.version}-Jinja2 \
                    port:py${python.version}-MarkupSafe \
                    port:py${python.version}-numpy \
                    port:py${python.version}-orjson \
                    port:py${python.version}-packaging \
                    port:py${python.version}-pandas \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-pydub \
                    port:py${python.version}-python-multipart \
                    port:py${python.version}-tz \
                    port:py${python.version}-yaml \
                    port:py${python.version}-safehttpx \
                    port:py${python.version}-semantic_version \
                    port:py${python.version}-starlette \
                    port:py${python.version}-tomlkit \
                    port:py${python.version}-typer \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-uvicorn \
                    port:py${python.version}-audioop_lts
}
