wok-next annotate python-foolscap/receipt @ rev 21724
busybox: update configs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 11:04:25 2020 +0000 (2020-09-01) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pascal@18222 | 2 |
al@20972 | 3 ORIGIN="foolscap" |
pascal@18222 | 4 PACKAGE="python-foolscap" |
al@20972 | 5 VERSION="0.13.1" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Foolscap contains an RPC protocol for Twisted" |
pascal@18222 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 9 LICENSE="MIT" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@21100 | 11 #HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:foolscap" |
al@20885 | 13 |
al@21100 | 14 COOKOPTS="force-arch" # arch-specific .so in python3-foolscap on x86_64 |
al@21100 | 15 |
al@20972 | 16 BUILD_DEPENDS="python-dev python-pyopenssl python-twisted \ |
al@20972 | 17 python-service_identity \ |
al@20972 | 18 python3-dev python3-pyopenssl python3-twisted python3-service_identity" |
al@20972 | 19 SPLIT="${PACKAGE/python/python3}:3" |
pascal@18222 | 20 |
al@20972 | 21 compile_rules() { |
al@20972 | 22 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@18222 | 23 } |
pascal@18222 | 24 |
al@20972 | 25 genpkg_rules() { |
al@20972 | 26 copy @std |
al@20972 | 27 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 28 DEPENDS="$py $py-pyopenssl $py-twisted $py-service_identity" |
pascal@18222 | 29 } |