Pyflakes is a simple program which checks Python source files for errors. It is

similar to PyChecker in scope, but differs in that it does not execute the
modules to check them. This is both safer and faster, although it does not
perform as many checks. Unlike PyLint, Pyflakes checks only for logical errors
in programs; it does not perform any checks on style.

WWW: http://www.divmod.org/projects/pyflakes

PR:		ports/95679
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
This commit is contained in:
Renato Botelho 2006-04-13 15:44:09 +00:00
parent d532038c00
commit f13206cb35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159424
5 changed files with 41 additions and 0 deletions

View file

@ -1437,6 +1437,7 @@
SUBDIR += py-epsilon
SUBDIR += py-fam
SUBDIR += py-fileutils
SUBDIR += py-flakes
SUBDIR += py-fortran
SUBDIR += py-freebsd
SUBDIR += py-game

22
devel/py-flakes/Makefile Normal file
View file

@ -0,0 +1,22 @@
# New ports collection makefile for: py-flakes
# Date created: 13 Apr 2006
# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD$
#
PORTNAME= flakes
PORTVERSION= 0.2.1
CATEGORIES= devel python
MASTER_SITES= http://divmod.org/static/projects/pyflakes/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyflakes-${PORTVERSION}
MAINTAINER= alex@foxybanana.com
COMMENT= Pyflakes is a program that analyzes Pythom programs for errors
USE_PYTHON= yes
USE_PYDISTUTILS= yes
NO_BUILD= yes
.include <bsd.port.mk>

3
devel/py-flakes/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (pyflakes-0.2.1.tar.gz) = e65d9245d706350b3db811280d897f30
SHA256 (pyflakes-0.2.1.tar.gz) = 3eecd66deecc2de5c31bb91a4b4479232087e80da94e3086e2a686879374cde9
SIZE (pyflakes-0.2.1.tar.gz) = 6140

View file

@ -0,0 +1,7 @@
Pyflakes is a simple program which checks Python source files for errors. It is
similar to PyChecker in scope, but differs in that it does not execute the
modules to check them. This is both safer and faster, although it does not
perform as many checks. Unlike PyLint, Pyflakes checks only for logical errors
in programs; it does not perform any checks on style.
WWW: http://www.divmod.org/projects/pyflakes

View file

@ -0,0 +1,8 @@
bin/pyflakes
%%PYTHON_SITELIBDIR%%/pyflakes/__init__.py
%%PYTHON_SITELIBDIR%%/pyflakes/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyflakes/__init__.pyo
%%PYTHON_SITELIBDIR%%/pyflakes/messages.py
%%PYTHON_SITELIBDIR%%/pyflakes/messages.pyc
%%PYTHON_SITELIBDIR%%/pyflakes/messages.pyo
@dirrm %%PYTHON_SITELIBDIR%%/pyflakes