PortSystem          1.0
PortGroup           python 1.0

name                py-pyodbc
set real_name       pyodbc
version             3.0.6
categories-append   databases devel
platforms           darwin
license             MIT
maintainers         nomaintainer
description         Python DB API 2 module for ODBC
long_description  \
    ${description}. This project provides an up-to-date, convenient \
    interface to ODBC using native data types like datetime and decimal.

python.versions     27

homepage            https://code.google.com/p/${real_name}/
master_sites        googlecode:${real_name}
distname            ${real_name}-${version}
use_zip             yes

checksums           rmd160  6c175aa2d83b60808dff7c77bf9725b2e9d31681 \
                    sha256  e5a7f12deddf4b258bed904b5a071dd43c40c78de8e24c9228f8174e69f5366d

if {${name} ne ${subport}} {
    depends_lib-append  port:unixODBC

    patchfiles          setup.py.patch

    livecheck.type      none
}