# -*- 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-client
version             2.5.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         {pguyot @pguyot} openmaintainer

description         Python client for Gradio apps

long_description    The lightweight Python library for interacting \
                    with Gradio apps served over the web.

homepage            https://github.com/gradio-app/gradio

distname            gradio_client-${version}

checksums           rmd160  aad745d4ef3d198363a2d5b0810123323112f8a4 \
                    sha256  4cde99bad62149595c30c90876ca2e405e3a13687ecf895474f3412cb476673d \
                    size    59013

python.versions     313 314

python.pep517_backend   hatch

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}-fsspec \
                    port:py${python.version}-httpx \
                    port:py${python.version}-huggingface_hub \
                    port:py${python.version}-packaging \
                    port:py${python.version}-typing_extensions
}
