# -*- 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.0.38
revision            0

platforms           darwin
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  b84702d991ad4e692a1aef191f7655d254514fdc \
                    sha256  34dcfaacf9fa34a6353424431f0e4fcc60e8ebb27ffee320d57396690b712a3b \
                    size    860770

python.versions     37 38 39

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

    depends_run-append \
                    port:py${python.version}-click \
                    port:py${python.version}-joblib \
                    port:py${python.version}-regex \
                    port:py${python.version}-six \
                    port:py${python.version}-tqdm

    livecheck.type  none
}
