# -*- 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.12.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  ea802e5621153a258760edf3ee7c8cfb20a8eed9 \
                    sha256  5a7808e7ef82cdcb711608275d6779d3368072f93777d649661ffae968af8107 \
                    size    35955906

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}-aiofiles \
                    port:py${python.version}-anyio \
                    port:py${python.version}-brotli \
                    port:py${python.version}-fastapi \
                    port:py${python.version}-ffmpy \
                    port:py${python.version}-gradio-client \
                    port:py${python.version}-groovy \
                    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
}
