wok-stable annotate python-decoratortools/receipt @ rev 9258
Add: linux-libre 2.6.37-libre (part 2)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 03:24:23 2011 +0100 (2011-03-15) |
parents | 7f46b72fa943 |
children |
rev | line source |
---|---|
pankso@3377 | 1 # SliTaz package receipt. |
pankso@3377 | 2 |
pankso@3377 | 3 PACKAGE="python-decoratortools" |
taziden@6464 | 4 VERSION="1.8" |
pankso@3377 | 5 CATEGORY="development" |
taziden@3777 | 6 SHORT_DESC="Class, function, and metaclass decorators" |
taziden@3777 | 7 MAINTAINER="taziden@slitaz.org" |
pankso@3377 | 8 SOURCE="DecoratorTools" |
pankso@3377 | 9 DEPENDS="python" |
pankso@3377 | 10 BUILD_DEPENDS="python python-dev" |
taziden@3777 | 11 TARBALL="$SOURCE-$VERSION.zip" |
taziden@6464 | 12 WEB_SITE="http://pypi.python.org/pypi/DecoratorTools" |
taziden@6464 | 13 WGET_URL="http://pypi.python.org/packages/source/D/$SOURCE/$TARBALL" |
pankso@3377 | 14 TAGS="python" |
pankso@3377 | 15 |
pankso@3377 | 16 # Rules to configure and make the package. |
pankso@3377 | 17 compile_rules() |
pankso@3377 | 18 { |
pankso@3377 | 19 cd $src |
taziden@3777 | 20 python setup.py install --root=$PWD/_pkg |
pankso@3377 | 21 } |
pankso@3377 | 22 |
pankso@3377 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3377 | 24 genpkg_rules() |
pankso@3377 | 25 { |
pankso@3377 | 26 cp -a $_pkg/usr $fs |
pankso@3377 | 27 } |
taziden@3777 | 28 |