pkgsrc-wip/py-addons/Makefile
Kamel Ibn Aziz Derouiche 06bf89c774 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.
2010-07-14 13:10:27 +00:00

28 lines
728 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/07/14 13:10:27 jihbed Exp $
#
DISTNAME= AddOns-0.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/A/a/S/O/o/}
CATEGORIES= devel
MASTER_SITES= http://pypi.python.org/packages/source/A/AddOns/
EXTRACT_SUFX= .zip
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://pypi.python.org/pypi/AddOns
COMMENT= Dynamically extend other objects with AddOns
DEPENDS+= ${PYPKGPREFIX}-decoratortools>=1.8:../../wip/py-decoratortools
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
DOCDIR= ${PREFIX}/share/doc/py-addons
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${DOCDIR}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"