wok annotate python-extremes/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | d8764161b1ed |
children | 16df76e1fc6a |
rev | line source |
---|---|
pankso@3383 | 1 # SliTaz package receipt. |
pankso@3383 | 2 |
pankso@3383 | 3 PACKAGE="python-extremes" |
pankso@3383 | 4 VERSION="1.1.1" |
pankso@3383 | 5 CATEGORY="development" |
pankso@3383 | 6 SHORT_DESC="Production-quality 'Min' and 'Max' objects (adapted from PEP 326)." |
pankso@3383 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="PSL" |
pankso@3383 | 9 SOURCE="Extremes" |
pankso@3383 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pankso@3383 | 11 WEB_SITE="http://pypi.python.org/pypi/Extremes" |
pankso@3383 | 12 WGET_URL="http://pypi.python.org/packages/source/E/$SOURCE/$TARBALL" |
pascal@15378 | 13 TAGS="python" |
pascal@15378 | 14 |
pankso@3383 | 15 DEPENDS="python" |
slaxemulator@8456 | 16 BUILD_DEPENDS="python python-dev setuptools" |
pankso@3383 | 17 |
pankso@3383 | 18 # Rules to configure and make the package. |
pankso@3383 | 19 compile_rules() |
pankso@3383 | 20 { |
pankso@3383 | 21 cd $src |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
pankso@3383 | 23 } |
pankso@3383 | 24 |
pankso@3383 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3383 | 26 genpkg_rules() |
pankso@3383 | 27 { |
pascal@15378 | 28 cp -a $install/usr $fs |
pankso@3383 | 29 } |