# -*- 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-levenshtein
python.rootname     python-Levenshtein
version             0.12.2
revision            0
categories-append   textproc
platforms           darwin freebsd
license             GPL-2+

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         Python module for fast computation of Levensthein distances.

long_description    The Levenshtein Python C extension module contains \
                    functions for fast computation of Levenshtein (edit) \
                    distance, and edit operations, string similarity, \
                    approximate median strings, and generally string \
                    averaging, string sequence and set similarity. It \
                    supports both normal and Unicode strings.

homepage            https://github.com/ztane/python-Levenshtein

checksums           rmd160  931756275747d8762f6082bddba447dfc710f81c \
                    sha256  dc2395fbd148a1ab31090dd113c366695934b9e85fe5a4b2a032745efd0346f6 \
                    size    50502

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

    livecheck.type      none
}
