# -*- 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.6.0
revision            0
categories-append   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  6c5ec98cc7654106188d3b05e300c3e4343df227 \
                    sha256  d931ddad8ba8dfc1e816bf254810eb6f38e5c32f60d4184b5885662a3b167325 \
                    size    717071

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

}
