# -*- 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.9.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  000aec971b6d2e92aca9aa42cb3e1b92a76be30c \
                    sha256  593e60e33233f3586452ebfa9f741817c5ae849a98cc70945f3ccb8dc895eb22 \
                    size    57904480

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
}
