wok-next annotate python-socketpool/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
claudinei@14878 | 2 |
al@20972 | 3 ORIGIN="socketpool" |
al@18086 | 4 PACKAGE="python-socketpool" |
al@20972 | 5 VERSION="0.5.3" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Python socket pool" |
claudinei@14878 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 9 LICENSE="MIT" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@21057 | 11 HOST_ARCH="any" |
al@20887 | 12 REPOLOGY="python:socketpool" |
al@20887 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
claudinei@14878 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 fix utf-8; export LC_ALL=en_US.UTF-8 |
claudinei@14878 | 19 |
al@20972 | 20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
claudinei@14878 | 21 } |
claudinei@14878 | 22 |
al@20972 | 23 genpkg_rules() { |
al@20972 | 24 copy @std |
al@20972 | 25 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 26 DEPENDS="$py" |
claudinei@14878 | 27 } |