blob: 43b63e32b1f7dbcc99d3b7c080c707364a65af12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
SUMMARY = "Python HTTP for Humans."
HOMEPAGE = "https://requests.readthedocs.io"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
SRC_URI:append:class-nativesdk = " \
file://environment.d-python3-requests.sh \
"
SRC_URI[sha256sum] = "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf"
inherit pypi python_setuptools_build_meta
do_install:append:class-nativesdk() {
mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
install -m 644 ${UNPACKDIR}/environment.d-python3-requests.sh ${D}${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh
}
RDEPENDS:${PN} += " \
python3-certifi \
python3-email \
python3-json \
python3-netserver \
python3-pysocks \
python3-urllib3 \
python3-chardet \
python3-idna \
python3-compression \
"
FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh"
CVE_PRODUCT = "requests"
BBCLASSEXTEND = "native nativesdk"
|