wok-next view python-nose/receipt @ rev 21277
geeqie: replaced lua by lua51
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:00:59 2019 +0100 (2019-12-07) |
parents | fc8399b41cda |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="nose"
4 PACKAGE="python-nose"
5 VERSION="1.3.7"
6 CATEGORY="python"
7 SHORT_DESC="Unittest extension"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:nose"
14 BUILD_DEPENDS="python python3"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION || return 1
20 mkdir -p $install/usr/share/
21 mv $install/usr/man/ $install/usr/share/
22 # fix displaying (it just work :-)
23 sed -i '/^\.de/,/\.\./d; /^\.INDENT/d; /^\.UNINDENT/d' \
24 $install/usr/share/man/man1/nosetests.1
25 }
27 genpkg_rules() {
28 copy @std
29 py="${PACKAGE%%-*}" # python/python3
30 DEPENDS="$py"
31 }