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

license             MIT
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
description         Pure-Python MySQL client library
long_description    This package contains a pure-Python MySQL and MariaDB client library, based on PEP 249.

python.versions     27 39 310 311 312 313

homepage            https://pypi.python.org/pypi/PyMySQL/

checksums           rmd160  fad2d0865ccb96b2f56858189adbd6fab9e3f9f6 \
                    sha256  e127611aaf2b417403c60bf4dc570124aeb4a57f5f37b8e95ae399a42f904cd0 \
                    size    47678

if {${name} ne ${subport}} {
    if {${python.version} eq 27} {
        version     0.10.1
        revision    0
        checksums   rmd160  45a38ea36ec1ace9be4626a026cf4b4c86b30030 \
                    sha256  263040d2779a3b84930f7ac9da5132be0fefcd6f453a885756656103f8ee1fdd \
                    size    77363
    }

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

    livecheck.type  none
}