wok-6.x rev 3377
Add: python-decoratortools
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 02:24:31 2009 +0200 (2009-06-12) |
parents | 29ac9ec96a95 |
children | a967d0e8c6f1 |
files | python-decoratortools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-decoratortools/receipt Fri Jun 12 02:24:31 2009 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-decoratortools" 1.7 +VERSION="1.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Class, function, and metaclass decorators." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +SOURCE="DecoratorTools" 1.12 +TARBALL="$SOURCE-$VERSION.zip" 1.13 +WEB_SITE="http://pypi.python.org/pypi/DecoratorTools" 1.14 +WGET_URL="http://pypi.python.org/packages/source/D/$SOURCE/$TARBALL" 1.15 +DEPENDS="python" 1.16 +BUILD_DEPENDS="python python-dev" 1.17 +TAGS="python" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + python setup.py install --root=$PWD/_pkg 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $_pkg/usr $fs 1.30 +}