# -*- 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.3
revision            0

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 36 37 38

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

checksums           rmd160  bfd2bf599e4bd028a18556b5bf22c7bd3f43c52c \
                    sha256  d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7 \
                    size    75293

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