# -*- 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-babel
version             0.9.6
license             BSD
platforms           darwin
supported_archs     noarch

maintainers         stromnov openmaintainer

description         A collection of tools for internationalizing Python applications.
long_description    ${description}

homepage            http://babel.edgewall.org/
master_sites        http://ftp.edgewall.com/pub/babel/
distname            Babel-${version}

checksums           md5     f0edcad03dfdb5505f337ef1a7690325 \
                    sha1    37810107bc36da21f44a50f0af3e75dcd2ca668d \
                    rmd160  a4867679703b618948f862fc417cca4b53c869e5

python.versions     25 26 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-tz
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       http://babel.edgewall.org/wiki/Download
    livecheck.regex     "Babel-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
