diff options
author | wg <wg@FreeBSD.org> | 2013-07-19 00:15:41 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-07-19 00:15:41 +0800 |
commit | f900369045df77bbeebceb210f9a49b73e2b1978 (patch) | |
tree | 661ac12388232049278408ff66528c490cea00f6 | |
parent | 2e99b70525ae4f25758d91e80df8773823b3b4f4 (diff) | |
download | freebsd-ports-gnome-f900369045df77bbeebceb210f9a49b73e2b1978.tar.gz freebsd-ports-gnome-f900369045df77bbeebceb210f9a49b73e2b1978.tar.zst freebsd-ports-gnome-f900369045df77bbeebceb210f9a49b73e2b1978.zip |
devel/py-mccabe: update to 0.2.1
- Update to 0.2.1
- Fix support for python 3.x
Changes: https://github.com/flintwork/mccabe/blob/0.2.1/README.rst#changes
-rw-r--r-- | devel/py-mccabe/Makefile | 12 | ||||
-rw-r--r-- | devel/py-mccabe/distinfo | 4 | ||||
-rw-r--r-- | devel/py-mccabe/pkg-plist | 1 |
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 |