wok-next annotate python-nose/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | 16df76e1fc6a |
children | 9b3461bf373c |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-nose" |
taziden@6470 | 4 VERSION="0.11.3" |
taziden@3777 | 5 CATEGORY="development" |
taziden@3777 | 6 SHORT_DESC="Unittest extension" |
taziden@3777 | 7 MAINTAINER="taziden@slitaz.org" |
pascal@15379 | 8 LICENSE="LGPL2.1" |
taziden@3777 | 9 SOURCE="nose" |
taziden@3777 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
taziden@3777 | 11 WEB_SITE="http://pylonshq.com" |
taziden@6470 | 12 WGET_URL="$WEB_SITE/download/1.0/$TARBALL" |
taziden@3777 | 13 TAGS="python" |
taziden@3777 | 14 |
pascal@15379 | 15 DEPENDS="python" |
pascal@15379 | 16 BUILD_DEPENDS="python python-dev" |
pascal@15379 | 17 |
taziden@3777 | 18 # Rules to configure and make the package. |
taziden@3777 | 19 compile_rules() |
taziden@3777 | 20 { |
pascal@19293 | 21 sed -i 's|man/man|share/&|' setup.py |
pascal@15379 | 22 python setup.py install --root=$DESTDIR |
taziden@3777 | 23 } |
taziden@3777 | 24 |
taziden@3777 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 26 genpkg_rules() |
taziden@3777 | 27 { |
pankso@4172 | 28 mkdir -p $fs/usr |
pascal@15379 | 29 cp -a $install/usr/lib $fs/usr |
taziden@3777 | 30 } |