Bug 176641 - [NEW PORT] devel/py-mccabe
Summary: [NEW PORT] devel/py-mccabe
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Felippe de Meirelles Motta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-04 17:00 UTC by William Grzybowski
Modified: 2013-03-06 17:40 UTC (History)
0 users

See Also:


Attachments
py-mccabe.shar (2.28 KB, text/plain)
2013-03-04 17:00 UTC, William Grzybowski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Grzybowski 2013-03-04 17:00:01 UTC
Ned's script to check McCabe complexity.

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

Fix: See attached patch
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-04 17:00:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-03-04 18:41:07 UTC
Responsible Changed
From-To: freebsd-python->lippe

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-06 17:35:37 UTC
Author: lippe
Date: Wed Mar  6 17:34:51 2013
New Revision: 313532
URL: http://svnweb.freebsd.org/changeset/ports/313532

Log:
  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>

Added:
  head/devel/py-mccabe/
  head/devel/py-mccabe/Makefile   (contents, props changed)
  head/devel/py-mccabe/distinfo   (contents, props changed)
  head/devel/py-mccabe/pkg-descr   (contents, props changed)
  head/devel/py-mccabe/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Mar  6 17:30:01 2013	(r313531)
+++ head/devel/Makefile	Wed Mar  6 17:34:51 2013	(r313532)
@@ -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

Added: head/devel/py-mccabe/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-mccabe/Makefile	Wed Mar  6 17:34:51 2013	(r313532)
@@ -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>

Added: head/devel/py-mccabe/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-mccabe/distinfo	Wed Mar  6 17:34:51 2013	(r313532)
@@ -0,0 +1,2 @@
+SHA256 (mccabe-0.2.tar.gz) = e0210235022d05d11b3c4c86e2cb65d5b307ab46ac88882d20ff998fd2ef0ad4
+SIZE (mccabe-0.2.tar.gz) = 4948

Added: head/devel/py-mccabe/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-mccabe/pkg-descr	Wed Mar  6 17:34:51 2013	(r313532)
@@ -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

Added: head/devel/py-mccabe/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-mccabe/pkg-plist	Wed Mar  6 17:34:51 2013	(r313532)
@@ -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%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-03-06 17:36:55 UTC
State Changed
From-To: open->closed

Committed. Thanks!