wok-next annotate python-mock/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pascal@14499 | 2 |
al@20972 | 3 ORIGIN="mock" |
pascal@14501 | 4 PACKAGE="python-mock" |
al@20972 | 5 VERSION="2.0.0" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="A library for testing in Python" |
pascal@14499 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="BSD" |
al@21041 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:mock" |
al@20885 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python-funcsigs python-pbr python-six \ |
al@20972 | 15 python3 python3-pbr python3-six" |
al@20972 | 16 SPLIT="${PACKAGE/python/python3}:3" |
pascal@14499 | 17 |
al@20972 | 18 compile_rules() { |
al@20972 | 19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@14499 | 20 } |
pascal@14499 | 21 |
al@20972 | 22 genpkg_rules() { |
al@20972 | 23 copy @std |
al@20972 | 24 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 25 case $PACKAGE in |
al@20972 | 26 python-*) DEPENDS="$py $py-funcsigs $py-pbr $py-six";; |
al@20972 | 27 python3-*) DEPENDS="$py $py-pbr $py-six";; |
al@20972 | 28 esac |
pascal@14499 | 29 } |