# -*- 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-bpemb
version             0.3.2
platforms           darwin
license             MIT
maintainers         nomaintainer

description         Byte pair embeddings in 275 languages
long_description    BPEmb is a collection of pre-trained subword\
                    embeddings in 275 languages, based on Byte-Pair\
                    Encoding (BPE) and trained on Wikipedia. Its\
                    intended use is as input for neural models in\
                    natural language processing.

homepage            https://nlp.h-its.org/bpemb

checksums           rmd160  93cb91d7001dfad05b3fbdce15736391772e9232 \
                    sha256  7ef2564f656ec48c4621f555c4431c4ec71900f3c45c8d2203f9c78446e8391c \
                    size    24098

python.versions     37 38 39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools

    depends_run-append \
                    port:py${python.version}-gensim \
                    port:py${python.version}-numpy \
                    port:py${python.version}-requests \
                    port:py${python.version}-sentencepiece \
                    port:py${python.version}-tqdm

    livecheck.type  none
}
