# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-south
version             0.8.1
categories-append   www
license             Apache-2
platforms           darwin
supported_archs     noarch
maintainers         nomaintainer
homepage            http://south.aeracode.org/
description         intelligent schema migrations for Django apps
long_description    South provides intelligent, database-independant, \
                    semi-automatic, schema migrations for Django apps.

master_sites        https://pypi.python.org/packages/source/S/South/
distname            South-${version}

checksums           md5    72deb5c8144a65ac42d1390ff922581d \
                    rmd160 5a6c8acd1e2c9c021ee41206faf68162e5fb3bc8 \
                    sha256 b695477fc7171d8844a0477a8caa688d6988d895ec14faa817f44def8a5d7845

python.versions     26 27

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools

    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       https://pypi.python.org/pypi/South
    livecheck.regex     {South (0\.[0-9]+(\.[0-9]+)?)}
}
