wok-next annotate python-nose/receipt @ rev 21137

Up libidn2 (2.1.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 24 02:07:21 2019 +0200 (2019-01-24)
parents fc8399b41cda
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
taziden@3777 2
al@20972 3 ORIGIN="nose"
taziden@3777 4 PACKAGE="python-nose"
al@20972 5 VERSION="1.3.7"
al@20972 6 CATEGORY="python"
taziden@3777 7 SHORT_DESC="Unittest extension"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@15379 9 LICENSE="LGPL2.1"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:nose"
al@20885 13
al@20972 14 BUILD_DEPENDS="python python3"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
taziden@3777 16
al@20972 17 compile_rules() {
al@20989 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION || return 1
al@20989 19
al@20989 20 mkdir -p $install/usr/share/
al@20989 21 mv $install/usr/man/ $install/usr/share/
al@20989 22 # fix displaying (it just work :-)
al@20989 23 sed -i '/^\.de/,/\.\./d; /^\.INDENT/d; /^\.UNINDENT/d' \
al@20989 24 $install/usr/share/man/man1/nosetests.1
taziden@3777 25 }
taziden@3777 26
al@20972 27 genpkg_rules() {
al@20972 28 copy @std
al@20972 29 py="${PACKAGE%%-*}" # python/python3
al@20972 30 DEPENDS="$py"
taziden@3777 31 }