# -*- 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-sacremoses
version             0.1.1
revision            0

platforms           {darwin any}
supported_archs     noarch
license             LGPL-2.1+
maintainers         nomaintainer

description         Python port of Moses tokenizer, truecaser and normalizer
long_description    {*}${description}

homepage            https://github.com/alvations/sacremoses

checksums           rmd160  c49f61539d6c2c783a1f5282c9ac91ea14ac9cd6 \
                    sha256  b6fd5d3a766b02154ed80b962ddca91e1fd25629c0978c7efba21ebccf663934 \
                    size    883188

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-click \
                    port:py${python.version}-joblib \
                    port:py${python.version}-regex \
                    port:py${python.version}-tqdm
}
