wok-next view python-requests/receipt @ rev 21072
Update Xorg packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 20 17:55:43 2018 +0200 (2018-12-20) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="requests"
4 PACKAGE="python-requests"
5 VERSION="2.19.1"
6 CATEGORY="network"
7 SHORT_DESC="Python HTTP Requests for Humans"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="Apache"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:requests"
14 BUILD_DEPENDS="python python-urllib3 python-idna python-certifi python-chardet \
15 python3 python3-urllib3 python3-idna python3-certifi python3-chardet"
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-urllib3 $py-idna $py-certifi $py-chardet"
26 }