# -*- 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.20.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  4e120e4c9eb4d108ed32591d8b9f7e0310c959ed \
                    sha256  8672866e9225a1f8297325a6742bb525a3a0ddc8aa4d75d99beb10a27ea2915f \
                    size    44844340

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
}
