# -*- 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-datasets
version             2.21.0
revision            0

platforms           {darwin any}
license             Apache-2
maintainers         nomaintainer
supported_archs     noarch

description         Datasets and evaluation metrics for natural language \
                    processing and more
long_description    Datasets is a lightweight and extensible \
                    library to easily share and access datasets and \
                    evaluation metrics for Natural Language Processing \
                    (NLP) and more.

homepage            https://github.com/huggingface/datasets

checksums           rmd160  05e49fb00b9ffc29ab91e5d8310d53f23ed61957 \
                    sha256  998f85a8460f1bd982e5bd058f8a0808eef424249e3df1e8cdd594ccd0dc8ba2 \
                    size    2215317

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-filelock \
                    port:py${python.version}-httpx \
                    port:py${python.version}-fsspec \
                    port:py${python.version}-packaging \
                    port:py${python.version}-yaml \
                    port:py${python.version}-huggingface_hub \
                    port:py${python.version}-dill \
                    port:py${python.version}-multiprocess \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pyarrow \
                    port:py${python.version}-requests \
                    port:py${python.version}-tqdm \
                    port:py${python.version}-xxhash
}
