wok-6.x annotate python-nose/receipt @ rev 4213
claws-mail-archive: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 10:21:52 2009 +0200 (2009-09-24) |
parents | 7f46b72fa943 |
children | b0ffb32261b8 |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-nose" |
taziden@3777 | 4 VERSION="0.10.4" |
taziden@3777 | 5 CATEGORY="development" |
taziden@3777 | 6 SHORT_DESC="Unittest extension" |
taziden@3777 | 7 MAINTAINER="taziden@slitaz.org" |
taziden@3777 | 8 SOURCE="nose" |
taziden@3777 | 9 DEPENDS="python" |
taziden@3777 | 10 BUILD_DEPENDS="python python-dev" |
taziden@3777 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
taziden@3777 | 12 WEB_SITE="http://pylonshq.com" |
taziden@3777 | 13 WGET_URL="$WEB_SITE/download/0.9.7/$TARBALL" |
taziden@3777 | 14 TAGS="python" |
taziden@3777 | 15 |
taziden@3777 | 16 # Rules to configure and make the package. |
taziden@3777 | 17 compile_rules() |
taziden@3777 | 18 { |
taziden@3777 | 19 cd $src |
taziden@3777 | 20 python setup.py install --root=$PWD/_pkg |
taziden@3777 | 21 } |
taziden@3777 | 22 |
taziden@3777 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 24 genpkg_rules() |
taziden@3777 | 25 { |
pankso@4172 | 26 mkdir -p $fs/usr |
pankso@4172 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@4172 | 28 cp -a $_pkg/usr/lib $fs/usr |
taziden@3777 | 29 } |
taziden@3777 | 30 |