NOTICE: This package has been removed from pkgsrc

./wip/py-addons, Dynamically extend other objects with AddOns

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.7, Package name: py27-addons-0.7, Maintainer: kamel.derouiche

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.


Required to run:
[devel/py-setuptools] [wip/py-decoratortools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a8d81565c31129320f53f7d356b79c945876f928
RMD160: 381a3d196e357b91891a1b0b211f895dadb0169c
Filesize: 33.418 KB

Version history: (Expand)


CVS history: (Expand)


   2012-10-06 19:13:24 by Aleksej Saushev | Files touched by this commit (44)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
   2010-07-14 15:10:27 by Kamel Derouiche | Files touched by this commit (4) | Imported package
Log message:
Import py26-addons-0.7 as wip/py-addons.

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.