# -*- 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-transformers
version             5.3.0
revision            0
categories-append   textproc

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

description         State-of-the-art Machine Learning for PyTorch and TensorFlow

long_description    Transformers provides thousands of pretrained \
                    models to perform tasks on texts such as \
                    classification, information extraction, question \
                    answering, summarization, translation, text \
                    generation, etc in 100+ languages. Its aim is to \
                    make cutting-edge NLP easier to use for everyone.

homepage            https://huggingface.co/transformers/

python.versions     310 311 312 313 314

checksums           rmd160  ac58010d2b0ff40c8e71800335d768247c037e51 \
                    sha256  009555b364029da9e2946d41f1c5de9f15e6b1df46b189b7293f33a161b9c557 \
                    size    8830831

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-huggingface_hub \
                    port:py${python.version}-numpy \
                    port:py${python.version}-packaging \
                    port:py${python.version}-yaml \
                    port:py${python.version}-regex \
                    port:py${python.version}-safetensors \
                    port:py${python.version}-tokenizers \
                    port:py${python.version}-tqdm \
                    port:py${python.version}-typer
}
