wok-next annotate python-openid/receipt @ rev 21286
updated gnuradio (3.7.8 -> 3.8.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 11:42:09 2019 +0100 (2019-12-08) |
parents | 9b3461bf373c |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pascal@11773 | 2 |
al@20972 | 3 ORIGIN="python-openid" # and python3-openid |
pascal@11773 | 4 PACKAGE="python-openid" |
al@20972 | 5 VERSION="3.1.0" # Python3 package python3-openid version |
al@20972 | 6 VERSION2="2.2.5" # Python2 package python-openid version |
al@20972 | 7 CATEGORY="python" |
al@20972 | 8 SHORT_DESC="OpenID support for servers and consumers" |
pascal@11773 | 9 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 10 LICENSE="Apache" |
al@20972 | 11 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 12 HOST_ARCH="any" |
al@20885 | 13 REPOLOGY="python:openid" |
al@20885 | 14 |
al@20972 | 15 BUILD_DEPENDS="python python3 python3-defusedxml" |
al@20972 | 16 SPLIT="${PACKAGE/python/python3}:3" |
pascal@11773 | 17 |
al@20972 | 18 compile_rules() { |
al@20972 | 19 case $SET in |
al@20972 | 20 '') VERSION="$VERSION2";; |
al@20972 | 21 esac |
al@20972 | 22 pip$SET install --no-compile --root=$install python$SET-openid==$VERSION |
pascal@11773 | 23 } |
pascal@11773 | 24 |
al@20972 | 25 genpkg_rules() { |
al@20972 | 26 copy @std |
al@20972 | 27 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 28 case $PACKAGE in |
al@20972 | 29 python-*) |
al@20972 | 30 VERSION="$VERSION2" |
al@20972 | 31 DEPENDS="$py" |
al@20972 | 32 ;; |
al@20972 | 33 python3-*) |
al@20972 | 34 DEPENDS="$py $py-defusedxml" |
al@20972 | 35 ;; |
al@20972 | 36 esac |
pascal@11773 | 37 } |