wok-next view python-foolscap/receipt @ rev 20972
Improve Python packages: update, also provide Python3 packages where available
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 22 16:05:26 2018 +0300 (2018-09-22) |
parents | 8b5b2a6d07b8 |
children | c88baf7ab6c5 |
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 BUILD_DEPENDS="python-dev python-pyopenssl python-twisted \
15 python-service_identity \
16 python3-dev python3-pyopenssl python3-twisted python3-service_identity"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 py=${PACKAGE%%-*} # python/python3
26 DEPENDS="$py $py-pyopenssl $py-twisted $py-service_identity"
27 }