# -*- 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.16.0
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  8a7c8b52eaba4c201c919f96a874e01ac707b3cf \
                    sha256  a48d03ffb436644265e4386388ad8a50ec183c8e1fdd3bae0548f7f229c474da \
                    size    36441812

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
}
