wok-next view python-requests-oauthlib/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="requests-oauthlib"
4 PACKAGE="python-requests-oauthlib"
5 VERSION="1.0.0"
6 CATEGORY="python"
7 SHORT_DESC="OAuthlib authentication support for Requests"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:requests-oauthlib"
14 BUILD_DEPENDS="python python-oauthlib python-requests \
15 python3 python3-oauthlib python3-requests"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py=${PACKAGE%%-*} # python/python3
25 DEPENDS="$py $py-oauthlib $py-requests"
26 }