wok-6.x view python-decoratortools/receipt @ rev 19989

Add knot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 02 18:38:44 2017 +0200 (2017-07-02)
parents fd4f1e692109
children 1be66a08b81f
line source
1 # SliTaz package receipt.
3 PACKAGE="python-decoratortools"
4 VERSION="1.8"
5 CATEGORY="development"
6 SHORT_DESC="Class, function, and metaclass decorators"
7 MAINTAINER="taziden@slitaz.org"
8 LICENSE="PSL"
9 SOURCE="DecoratorTools"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://pypi.python.org/pypi/DecoratorTools"
12 WGET_URL="http://pypi.python.org/packages/source/D/$SOURCE/$TARBALL"
13 TAGS="python"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }