# -*- 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
# CAUTION: Updates tend to break port `py-flake8` due to strict version caps.
# Please DO NOT update without cross-checking version compatibility and
# perform updates in a coordinated way.
python.versions 27 34 35 36 37
maintainers {stromnov @stromnov} openmaintainer
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.
homepage https://github.com/pycqa/pyflakes
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname pyflakes-${version}
checksums rmd160 9a04c07af00adf6772a5777e12d8c4ef0d38245c \
sha256 9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49 \
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
depends_run port:pyflakes_select
select.file ${filespath}/py${python.version}-pyflakes
To make the Python ${python.branch} version of py-pyflakes the one that is run\
when you execute the commands without a version suffix, e.g. 'pyflakes', run:
port select --set ${select.group} [file tail ${select.file}]
test.cmd ${python.bin} setup.py