# -*- 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.1.2
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  d7d60d907e312e5aba9e8d538508a7e6e2753f7e \
                    sha256  7bdafc432dc12fa1f15211bdfa689a02531d2a47a3cc0d74935f5726cdbcab8e \
                    size    606173

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-filelock \
                    port:py${python.version}-requests \
                    port:py${python.version}-fsspec \
                    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

}
