wok-next annotate python-singledispatch/receipt @ rev 21457
updated sshfs-fuse (3.3.1 -> 3.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 14:36:33 2020 +0100 (2020-05-07) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20969 | 1 # SliTaz package receipt v2. |
al@20969 | 2 |
al@20972 | 3 ORIGIN="singledispatch" |
al@20969 | 4 PACKAGE="python-singledispatch" |
al@20972 | 5 VERSION="3.4.0.3" |
al@20969 | 6 CATEGORY="python" |
al@20969 | 7 SHORT_DESC="Brings functools.singledispatch from Python 3.4 to Python 2.6-3.3" |
al@20969 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20969 | 9 LICENSE="MIT" |
al@20969 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20972 | 12 REPOLOGY="python:singledispatch" |
al@20969 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python-six python3 python3-six" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
al@20969 | 16 |
al@20969 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20969 | 19 } |
al@20969 | 20 |
al@20969 | 21 genpkg_rules() { |
al@20969 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py $py-six" |
al@20969 | 25 } |