# -*- 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             4.6.1
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  fb9ac2ad6032ae26909f6f9e901604fa9ed3aa88 \
                    sha256  140ce500bc41939ff6ce995702d66b1f4b2ee7f117bb9b07512fab6804d4070a \
                    size    593865

python.versions     310 311 312 313 314

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
}
