wok-next view python-foolscap/receipt @ rev 21718

Up dropbear (2020.80)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 29 08:19:44 2020 +0000 (2020-07-29)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="foolscap"
4 PACKAGE="python-foolscap"
5 VERSION="0.13.1"
6 CATEGORY="python"
7 SHORT_DESC="Foolscap contains an RPC protocol for Twisted"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH="any"
12 REPOLOGY="python:foolscap"
14 COOKOPTS="force-arch" # arch-specific .so in python3-foolscap on x86_64
16 BUILD_DEPENDS="python-dev python-pyopenssl python-twisted \
17 python-service_identity \
18 python3-dev python3-pyopenssl python3-twisted python3-service_identity"
19 SPLIT="${PACKAGE/python/python3}:3"
21 compile_rules() {
22 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
23 }
25 genpkg_rules() {
26 copy @std
27 py=${PACKAGE%%-*} # python/python3
28 DEPENDS="$py $py-pyopenssl $py-twisted $py-service_identity"
29 }