# -*- 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-pymysql
version             0.9.2
license             MIT
platforms           darwin
supported_archs     noarch
maintainers         {@xeron gmail.com:xeron.oskom} openmaintainer
description         Pure-Python MySQL client library
long_description    ${description}

python.versions     27 34 35 36 37

homepage            https://pypi.python.org/pypi/${python.rootname}/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            PyMySQL-${version}

checksums           rmd160  6c5c1015e61591e59927b4b8588acf274b6e6edd \
                    sha256  9ec760cbb251c158c19d6c88c17ca00a8632bac713890e465b2be01fdc30713f \
                    size    74532

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
    livecheck.type  none
} else {
    livecheck.type  pypi
}