wok-next view python-foolscap/receipt @ rev 21397
opentyrian: add "glib" to bdeps for /usr/bin/glib-compile-schemas
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 18 17:26:44 2020 +0300 (2020-04-18) |
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 }