aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/py-mccabe/Makefile12
-rw-r--r--devel/py-mccabe/distinfo4
-rw-r--r--devel/py-mccabe/pkg-plist1
3 files changed, 11 insertions, 6 deletions
diff --git a/devel/py-mccabe/Makefile b/devel/py-mccabe/Makefile
index 5564aa789b90..2dd8178f0aae 100644
--- a/devel/py-mccabe/Makefile
+++ b/devel/py-mccabe/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mccabe
-PORTVERSION= 0.2
+PORTVERSION= 0.2.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +10,13 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Ned\'s script to check McCabe complexity
-USE_PYTHON= -2.7 # It actually python3 ready, but still needs some work
+USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 320
+.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-mccabe/distinfo b/devel/py-mccabe/distinfo
index c51f9cfbf93e..d9124c8c164c 100644
--- a/devel/py-mccabe/distinfo
+++ b/devel/py-mccabe/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mccabe-0.2.tar.gz) = e0210235022d05d11b3c4c86e2cb65d5b307ab46ac88882d20ff998fd2ef0ad4
-SIZE (mccabe-0.2.tar.gz) = 4948
+SHA256 (mccabe-0.2.1.tar.gz) = 5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a
+SIZE (mccabe-0.2.1.tar.gz) = 5031
diff --git a/devel/py-mccabe/pkg-plist b/devel/py-mccabe/pkg-plist
index 87323c76872c..d8246fc85ff7 100644
--- a/devel/py-mccabe/pkg-plist
+++ b/devel/py-mccabe/pkg-plist
@@ -3,7 +3,6 @@
%%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