wok-next view python-nose/receipt @ rev 20545

vmtouch: create $install/usr/bin path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 03 15:08:22 2018 +0200 (2018-04-03)
parents 16df76e1fc6a
children 9b3461bf373c
line source
1 # SliTaz package receipt.
3 PACKAGE="python-nose"
4 VERSION="0.11.3"
5 CATEGORY="development"
6 SHORT_DESC="Unittest extension"
7 MAINTAINER="taziden@slitaz.org"
8 LICENSE="LGPL2.1"
9 SOURCE="nose"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pylonshq.com"
12 WGET_URL="$WEB_SITE/download/1.0/$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 sed -i 's|man/man|share/&|' setup.py
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }