# -*- 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-diff-match-patch
version             20121119
platforms           darwin
license             Apache-2
maintainers         nomaintainer

description         The Diff Match and Patch libraries offer robust algorithms to perform \
                    the operations required for synchronizing plain text.
long_description    ${description}

homepage            https://github.com/google/diff-match-patch
master_sites        pypi:d/diff-match-patch
distname            diff-match-patch-${version}

checksums           rmd160  0279fd90a2ec4db1cd797db47862084e216083ed \
                    sha256  9dba5611fbf27893347349fd51cc1911cb403682a7163373adacc565d11e2e4c \
                    size    54113

python.versions     27 36

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

    livecheck.type      none
} else {
    livecheck.type      pypi
}