Index: head/devel/py-decorator/Makefile =================================================================== --- head/devel/py-decorator/Makefile (revision 410949) +++ head/devel/py-decorator/Makefile (revision 410950) @@ -1,18 +1,24 @@ # Created by: Denis Shaposhnikov # $FreeBSD$ PORTNAME= decorator -PORTVERSION= 4.0.6 +PORTVERSION= 4.0.9 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dsh@wizard.volgograd.ru COMMENT= Better living through Python with decorators LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/devel/py-decorator/distinfo =================================================================== --- head/devel/py-decorator/distinfo (revision 410949) +++ head/devel/py-decorator/distinfo (revision 410950) @@ -1,2 +1,2 @@ -SHA256 (decorator-4.0.6.tar.gz) = 1c6254597777fd003da2e8fb503c3dbf3d9e8f8d55f054709c0e65be3467209c -SIZE (decorator-4.0.6.tar.gz) = 68855 +SHA256 (decorator-4.0.9.tar.gz) = 90022e83316363788a55352fe39cfbed357aa3a71d90e5f2803a35471de4bba8 +SIZE (decorator-4.0.9.tar.gz) = 68746 Index: head/devel/py-decorator/pkg-descr =================================================================== --- head/devel/py-decorator/pkg-descr (revision 410949) +++ head/devel/py-decorator/pkg-descr (revision 410950) @@ -1,14 +1,14 @@ As of now, writing custom decorators correctly requires some experience and it is not as easy as it could be. For instance, typical implementations of decorators involve nested functions, and we all know that flat is better than nested. Moreover, typical implementations of decorators do not preserve the signature of decorated functions, thus confusing both documentation tools and developers. The aim of the decorator module it to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. -WWW: https://pypi.python.org/pypi/decorator +WWW: https://github.com/micheles/decorator