# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        seatgeek fuzzywuzzy 0.17.0
revision            0
name                py-fuzzywuzzy
categories-append   textproc
platforms           darwin freebsd
license             GPL-2+

python.versions     27 34 35 36

maintainers         nomaintainer

description         Fuzzy String Matching in Python

long_description    Fuzzy string matching like a boss. It uses Levenshtein \
                    Distance to calculate the differences between sequences \
                    in a simple-to-use package.

checksums           rmd160  1d3e1072cbae025ed4b648a82b3004740311b1a4 \
                    sha256  c94c297a7e820f247b85d0c5410707c22fecd2bbfdb389ce6e85e175ffe061c5 \
                    size    77008

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

    depends_lib-append \
                    port:py${python.version}-levenshtein

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
            CHANGES.rst ${destroot}${docdir}
    }

    livecheck.type  none
}