# -*- 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
# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem        1.0
PortGroup         python 1.0

name              py-sqlalchemy-migrate
version           0.7.2
license           MIT
platforms         darwin
supported_archs   noarch
maintainers       akitada openmaintainer
description       Database schema migration for SQLAlchemy
long_description  Inspired by Ruby on Rails' migrations, SQLAlchemy Migrate \
                  provides a way to deal with database schema changes in \
                  SQLAlchemy projects. \
                  SQLAlchemy Migrate extends SQLAlchemy to have database \
                  changeset handling. It provides a database change \
                  repository mechanism which can be used from the \
                  command line as well as from inside python code.
homepage          http://sqlalchemy-migrate.googlecode.com/
master_sites      http://pypi.python.org/packages/source/s/sqlalchemy-migrate/
checksums         md5 10382fda16f056491e671b5307dd6713 \
                  sha1 d88f0159e3f58fed8c50ba83f0b19559b0524cb5 \
                  rmd160 e4c596b590e543081f78feab54599024b5b9b3e8
distname          sqlalchemy-migrate-${version}

python.versions   24 25 26 27

if {$subport != $name} {
    depends_lib       port:py${python.version}-setuptools \
                      port:py${python.version}-tempita \
                      port:py${python.version}-decorator
    if {${python.version} <= 25} {
        version       0.7.1
        distname      sqlalchemy-migrate-${version}
        checksums     md5 023acd2cb74882597074768a0e84468a \
                      sha1 42dd3d5d84815350c83fbeb6ab8b72580813182d \
                      rmd160 c673e34f9fb0b58c702a97a05813abf610d17486
    }
}
