freebsd-ports/devel/py-decorator/pkg-descr
Kubilay Kocak ffccbd24b8 devel/py-decorator: Update to 4.0.9
- Update PORTVERSION and distinfo checksum (4.0.9)
- Add LICENSE_FILE
- Add test target
- Enable NO_ARCH (architecture independent)
- Update pkg-descr WWW: URL to match setup.py:url=

This change fixes www/py-praw after r410501 [1], which depends on this
version (4.0.9) as a minimum.

Maintainer email address is currently experience MX lookup failure:

  Technical details of temporary failure:
  DNS Error: 132075314 DNS type 'mx' lookup of wizard.volgograd.ru
  responded with code SERVFAIL

[1] https://svnweb.freebsd.org/changeset/ports/410501

PR:			207894
Approved by:		portmgr (maintainer email failure)
Differential Revision:	D5606
2016-03-13 11:04:55 +00:00

14 lines
671 B
Text

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://github.com/micheles/decorator