PEAK-Rules is a highly-extensible framework for creating and using generic functions, from the very simple to the very complex. Out of the box, it supports multiple-dispatch on positional arguments using tuples of types, full predicate dispatch using strings containing Python expressions, and CLOS-like method combining. (But the framework allows you to mix and match dispatch engines and custom method combinations, if you need or want to.)
32 lines
1,003 B
Makefile
32 lines
1,003 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/07/14 13:13:17 jihbed Exp $
|
|
#
|
|
|
|
DISTNAME= PEAK-Rules-0.5a1.dev-r2600
|
|
EGG_NAME= PEAK_Rules-0.5a1.dev_r2600
|
|
PKGNAME= ${PYPKGPREFIX}-peak-rules-0.5a1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://peak.telecommunity.com/snapshots/
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= http://peak.telecommunity.com/snapshots/
|
|
COMMENT= Generic functions and business rules support systems
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-addons>=0.7:../../wip/py-addons
|
|
DEPENDS+= ${PYPKGPREFIX}-bytecodeassembler>=0.5.11:../../wip/py-bytecodeassembler
|
|
DEPENDS+= ${PYPKGPREFIX}-decoratortools>=1.8:../../wip/py-decoratortools
|
|
DEPENDS+= ${PYPKGPREFIX}-extremes>=1.1.1:../../wip/py-extremes
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
INSTALLATION_DIRS+= share/doc/py-peak-rules
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHONBIN} test_rules.py
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/py-peak-rules
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|