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

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }