The goal of the decorator module is to make it easy to define
signature-preserving function decorators and decorator factories. It also
includes an implementation of multiple dispatch and other niceties (please check
the docs). It is released under a two-clauses BSD license, i.e. basically you
can do whatever you want with it but I am not responsible.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-decorator listed in the above command, you can pick from the names under the Packages section.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
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
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
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: http://www.phyast.pitt.edu/~micheles/python/documentation.html
PR: ports/113968
Submitted by: Denis Shaposhnikov <dsh at vlink.ru>