wok-next annotate 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 |
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@20972 | 11 HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:foolscap" |
al@20885 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python-pyopenssl python-twisted \ |
al@20972 | 15 python-service_identity \ |
al@20972 | 16 python3-dev python3-pyopenssl python3-twisted python3-service_identity" |
al@20972 | 17 SPLIT="${PACKAGE/python/python3}:3" |
pascal@18222 | 18 |
al@20972 | 19 compile_rules() { |
al@20972 | 20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@18222 | 21 } |
pascal@18222 | 22 |
al@20972 | 23 genpkg_rules() { |
al@20972 | 24 copy @std |
al@20972 | 25 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 26 DEPENDS="$py $py-pyopenssl $py-twisted $py-service_identity" |
pascal@18222 | 27 } |