# -*- 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-langdetect
version             1.0.9
platforms           {darwin any}
license             Apache-2
supported_archs     noarch

maintainers         {@harens gmail.com:harensdeveloper} \
                    openmaintainer

description         Port of Google's language-detection library to Python
long_description    Port of Nakatani Shuyo's language-detection library (version \
                    from 03/03/2014) to Python. langdetect supports 55 languages out \
                    of the box.

homepage            https://github.com/Mimino666/langdetect

checksums           rmd160 58d714ce38b2de2db4a11837bd7db62a24d9fe55 \
                    sha256 cbc1fef89f8d062739774bd51eda3da3274006b3661d199c2655f6b3f6d605a0 \
                    size   981474

python.versions     39 310

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

    test.run        yes
}