wok-current view python-nose/receipt @ rev 22544

Add gnubik (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 03 17:47:24 2020 +0100 (2020-01-03)
parents 42380dbaadb7
children a9aa30e5bd71
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="https://pypi.org/project/nose/"
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 }