# -*- 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.3.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  f5726f7c91f4acd05b644e09c4d7543271e0e507 \
                    sha256  1c700dc60e65bae4386ba7cf3732b9f9d5bcf5fb8eb451df3944fe092d7d9a29 \
                    size    57552

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
}
