# -*- 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.4.1
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  db8aae8b77f69ba0c21b2178a6dc10aa364e4383 \
                    sha256  c08783eb3dbdfd6d567bfd912a432fd8ab37b9e633b03e794cc1a0fa105a6d31 \
                    size    58611

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
}
