# $Id: Portfile 67872 2010-05-20 12:21:39Z arthurk@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-pyflakes
version             0.4.0
categories          python www
platforms           darwin
maintainers         arthurk
homepage            http://www.divmod.org/trac/wiki/DivmodPyflakes
description         passive checker of Python programs
long_description    Pyflakes is program to analyze Python programs and \
                    detect various errors. It works by parsing the source \
                    file, not importing it, so it is safe to use on modules \
                    with side effects. It's also much faster.

master_sites        http://pypi.python.org/packages/source/p/pyflakes/
distname            pyflakes-${version}
checksums           md5     630a72510aae8758f48cf60e4fa17176 \
                    sha1    439b547be3be431de90ebea16b7fd2a3f620e3f9 \
                    rmd160  b2962664414c41128b165d2db5977bfc8ecb7777

depends_lib-append  port:py-setuptools

post-destroot {
    move ${destroot}${prefix}/bin/pyflakes ${destroot}${prefix}/bin/pyflakes-2.4
}

livecheck.type      regex
livecheck.url       http://pypi.python.org/pypi/pyflakes/
livecheck.regex     pyflakes (0\.\[0-9\]+\.\[0-9\]+)

