wok-next annotate python-oauth2/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
paul@13222 | 2 |
al@20972 | 3 ORIGIN="oauth2" |
paul@13222 | 4 PACKAGE="python-oauth2" |
al@20972 | 5 VERSION="1.9.0.post1" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Library for OAuth version 1.9" |
paul@13222 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:oauth2" |
al@20885 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python-httplib2 python3 python3-httplib2" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
pascal@15378 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
paul@13222 | 19 } |
paul@13222 | 20 |
al@20972 | 21 genpkg_rules() { |
al@20972 | 22 copy @std @dev |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py $py-httplib2" |
paul@13222 | 25 } |