# $Id: Portfile 48920 2009-03-31 11:28:38Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-pyflakes
version             0.3.0
categories          python www
platforms           darwin
maintainers         arthurkoziel.com:arthur
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     ec7eee3444214bda18e57b82175e1da7 \
                    sha1    579fccf1e903639fa5527e022b1a3bc0d3a6499e \
                    rmd160  8acef8911299bb6e3710b36c3cadd2bc2cfc1192

depends_lib-append  port:py-setuptools

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

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

