# -*- 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-alembic
version             1.0.10
revision            0
categories-append   databases
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         A database migration tool for SQLAlchemy.
long_description    ${description}

homepage            http://bitbucket.org/zzzeek/alembic
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  2a7a611cc26f5daa27c716e78808ce66ca983199 \
                    sha256  828dcaa922155a2b7166c4f36ec45268944e4055c86499bd14319b4c8c0094b7 \
                    size    1019446

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-sqlalchemy \
                        port:py${python.version}-mako \
                        port:py${python.version}-editor \
                        port:py${python.version}-dateutil

    livecheck.type      none
}