# HG changeset patch # User Aleksej Bobylev # Date 1457482889 -7200 # Node ID bc88c68ed8d0b059721a4f1c5b7e06f67204a5db # Parent 88c4b92b0e610ca69f82d478a6f5eefd5d05d461 Add python-peak-rules package; add it to python-turbogears dependencies diff -r 88c4b92b0e61 -r bc88c68ed8d0 python-peak-rules/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-peak-rules/description.txt Wed Mar 09 02:21:29 2016 +0200 @@ -0,0 +1,6 @@ +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.) diff -r 88c4b92b0e61 -r bc88c68ed8d0 python-peak-rules/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-peak-rules/receipt Wed Mar 09 02:21:29 2016 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-peak-rules" +VERSION="0.5a1.dev-r2713" +CATEGORY="misc" +SHORT_DESC="Generic functions and business rules support systems" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="ZPL2.1" +WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz" + +DEPENDS="python" +BUILD_DEPENDS="setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r 88c4b92b0e61 -r bc88c68ed8d0 python-turbogears/receipt --- a/python-turbogears/receipt Wed Mar 09 00:08:53 2016 +0200 +++ b/python-turbogears/receipt Wed Mar 09 02:21:29 2016 +0200 @@ -13,7 +13,7 @@ DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \ python-paste python-pastedeploy python-pastescript python-formencode \ -python-decoratortools python-extremes python-simplejson" +python-decoratortools python-extremes python-simplejson python-peak-rules" BUILD_DEPENDS="$DEPENDS python-dev setuptools" # Rules to configure and make the package.