# -*- 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.7.2
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  e4cbc20758e2d9b43d3e98d197f6226f503ce69b \
                    sha256  5b568b8189b86cfdacab39fecc2ee66900348cdd83a1c0bb968a98c83eafc198 \
                    size    63553

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
}
