wok-next annotate python-pypubsub/receipt @ rev 21636
updated f3 (2.2 -> 7.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 11:11:30 2020 +0100 (2020-06-26) |
parents | 270c09f6a958 |
children |
rev | line source |
---|---|
al@20934 | 1 # SliTaz package receipt v2. |
al@20934 | 2 |
al@20972 | 3 ORIGIN="PyPubSub" |
al@20934 | 4 PACKAGE="python-pypubsub" |
al@20972 | 5 VERSION="4.0.0" |
al@20934 | 6 CATEGORY="python" |
al@20934 | 7 SHORT_DESC="Python Publish-Subscribe Package" |
al@20934 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20934 | 9 LICENSE="BSD" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20934 | 11 HOST_ARCH="any" |
al@20934 | 12 REPOLOGY="python:pypubsub" |
al@20934 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python-typing python3-dev" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
al@20934 | 16 |
al@20934 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
al@20934 | 19 } |
al@20934 | 20 |
al@20934 | 21 genpkg_rules() { |
al@20934 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 case $PACKAGE in |
al@20972 | 25 python-*) DEPENDS="$py $py-typing";; |
al@20972 | 26 python3-*) DEPENDS="$py";; |
al@20972 | 27 esac |
al@20934 | 28 } |