# -*- 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-huggingface_hub
version             1.31.0
revision            0
categories-append   devel textproc

license             Apache-2
maintainers         nomaintainer
platforms           {darwin any}
supported_archs     noarch
homepage            https://github.com/huggingface/huggingface_hub

description         Client library to download and publish models and \
                    other files on the huggingface.co hub

long_description    {*}${description}

checksums           rmd160  16ab0a311c1c9e7c84c83f53ff67ae7f7d7ec511 \
                    sha256  f8e9e710a210613fa5d0f26bba6da05ef4aef9fba5a0f23f508f5ac4d08b6f90 \
                    size    968039

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-filelock \
                    port:py${python.version}-fsspec \
                    port:py${python.version}-typer \
                    port:py${python.version}-httpx \
                    port:py${python.version}-packaging \
                    port:py${python.version}-yaml \
                    port:py${python.version}-shellingham \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-hf-xet \
                    port:py${python.version}-tqdm

}
