1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

McCabe complexity checker for Python.

This module provides a plugin for flake8, the Python code checker.

WWW:	https://github.com/flintwork/mccabe

PR:		ports/176641
Submitted by:	William Grzybowski <william88@gmail.com>
This commit is contained in:
Felippe de Meirelles Motta 2013-03-06 17:34:51 +00:00
parent 081b514267
commit 2b27306e40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313532
5 changed files with 36 additions and 0 deletions

View File

@ -3520,6 +3520,7 @@
SUBDIR += py-lxml
SUBDIR += py-magic
SUBDIR += py-manuel
SUBDIR += py-mccabe
SUBDIR += py-mercurialserver
SUBDIR += py-mez_xml
SUBDIR += py-mimeparse

16
devel/py-mccabe/Makefile Normal file
View File

@ -0,0 +1,16 @@
# Created by: William Grzybowski <william88@gmail.com>
# $FreeBSD$
PORTNAME= mccabe
PORTVERSION= 0.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= william88@gmail.com
COMMENT= Ned\'s script to check McCabe complexity
USE_PYTHON= -2.7 # It actually python3 ready, but still needs some work
USE_PYDISTUTILS= easy_install
.include <bsd.port.mk>

2
devel/py-mccabe/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (mccabe-0.2.tar.gz) = e0210235022d05d11b3c4c86e2cb65d5b307ab46ac88882d20ff998fd2ef0ad4
SIZE (mccabe-0.2.tar.gz) = 4948

View File

@ -0,0 +1,5 @@
Ned's script to check McCabe complexity.
This module provides a plugin for flake8, the Python code checker.
WWW: https://github.com/flintwork/mccabe

12
devel/py-mccabe/pkg-plist Normal file
View File

@ -0,0 +1,12 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mccabe.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mccabe.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mccabe.pyo
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%