wok-6.x annotate python-decoratortools/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | fd4f1e692109 |
children | 1be66a08b81f |
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" |
pascal@15378 | 8 LICENSE="PSL" |
pankso@3377 | 9 SOURCE="DecoratorTools" |
taziden@3777 | 10 TARBALL="$SOURCE-$VERSION.zip" |
taziden@6464 | 11 WEB_SITE="http://pypi.python.org/pypi/DecoratorTools" |
taziden@6464 | 12 WGET_URL="http://pypi.python.org/packages/source/D/$SOURCE/$TARBALL" |
pankso@3377 | 13 TAGS="python" |
pankso@3377 | 14 |
pascal@15378 | 15 DEPENDS="python" |
pascal@15378 | 16 BUILD_DEPENDS="python python-dev" |
pascal@15378 | 17 |
pankso@3377 | 18 # Rules to configure and make the package. |
pankso@3377 | 19 compile_rules() |
pankso@3377 | 20 { |
al@18077 | 21 python setup.py install --root=$DESTDIR |
pankso@3377 | 22 } |
pankso@3377 | 23 |
pankso@3377 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3377 | 25 genpkg_rules() |
pankso@3377 | 26 { |
pascal@15378 | 27 cp -a $install/usr $fs |
pankso@3377 | 28 } |