# -*- 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-sqlparse
version             0.4.2
revision            0

license             BSD
platforms           darwin
supported_archs     noarch
maintainers         {@xeron gmail.com:xeron.oskom} openmaintainer
description         Non-validating SQL parser
long_description    ${description} that provides support for parsing, splitting \
                    and formatting SQL statements.

python.versions     27 35 36 37 38 39

categories-append   textproc

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  93449bd83830b28d93a756d01d0a71889c43e19d \
                    sha256  0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae \
                    size    67771

if {${name} ne ${subport}} {
    if {${python.version} eq 27} {
        version     0.3.1
        revision    0
        checksums   rmd160  b1a910193d4fd22679d0aea5c846a9a13e84ebef \
                    sha256  e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 \
                    size    67572
    }

    depends_build-append    port:py${python.version}-setuptools

    livecheck.type  none
}
