wok-next view python-requests/receipt @ rev 21312
inkscape: added build dependency dbus-glib-dev
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 15:00:13 2019 +0100 (2019-12-10) |
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 }