Date: Wed, 1 Jul 2009 09:02:52 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel Makefile ports/devel/py-AddOns Makefile distinfo pkg-descr Message-ID: <200907010902.n6192qve074190@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
miwi 2009-07-01 09:02:52 UTC
FreeBSD ports repository
Modified files:
devel Makefile
Added files:
devel/py-AddOns Makefile distinfo pkg-descr
Log:
py-AddOn classes are like dynamic mixins, but with their own private attribute
and method namespaces. A concern implemented using add-ons can be added at
runtime to any object that either has a writable __dict__ attribute, or is
weak-referenceable.
AddOn classes are also like adapters, but rather than creating a new instance
each time you ask for one, an existing instance is returned if possible. In
this way, add-ons can keep track of ongoing state. For example, a Persistence
add-on might keep track of whether its subject has been saved to disk.
WWW: http://www.python.org/pypi/AddOns
PR: ports/135947
Submitted by: Wen Heping <wenheping at gmail.com>
Revision Changes Path
1.3538 +1 -0 ports/devel/Makefile
1.1 +27 -0 ports/devel/py-AddOns/Makefile (new)
1.1 +3 -0 ports/devel/py-AddOns/distinfo (new)
1.1 +11 -0 ports/devel/py-AddOns/pkg-descr (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907010902.n6192qve074190>
