From f13206cb35ec7208c057fffd655d36bf03e4b64d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 13 Apr 2006 15:44:09 +0000 Subject: [PATCH] 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 --- devel/Makefile | 1 + devel/py-flakes/Makefile | 22 ++++++++++++++++++++++ devel/py-flakes/distinfo | 3 +++ devel/py-flakes/pkg-descr | 7 +++++++ devel/py-flakes/pkg-plist | 8 ++++++++ 5 files changed, 41 insertions(+) create mode 100644 devel/py-flakes/Makefile create mode 100644 devel/py-flakes/distinfo create mode 100644 devel/py-flakes/pkg-descr create mode 100644 devel/py-flakes/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 73b4fcae435a..36146c84aa44 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-flakes/Makefile b/devel/py-flakes/Makefile new file mode 100644 index 000000000000..ae0fe66e1a8a --- /dev/null +++ b/devel/py-flakes/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: py-flakes +# Date created: 13 Apr 2006 +# Whom: Alexander Botero-Lowry +# +# $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 diff --git a/devel/py-flakes/distinfo b/devel/py-flakes/distinfo new file mode 100644 index 000000000000..52df9075b58f --- /dev/null +++ b/devel/py-flakes/distinfo @@ -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 diff --git a/devel/py-flakes/pkg-descr b/devel/py-flakes/pkg-descr new file mode 100644 index 000000000000..0d95f1e3b0bf --- /dev/null +++ b/devel/py-flakes/pkg-descr @@ -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 diff --git a/devel/py-flakes/pkg-plist b/devel/py-flakes/pkg-plist new file mode 100644 index 000000000000..d05e284e9382 --- /dev/null +++ b/devel/py-flakes/pkg-plist @@ -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