diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-requests_2.32.4.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-requests_2.32.4.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-requests_2.32.4.bb b/meta/recipes-devtools/python/python3-requests_2.32.4.bb new file mode 100644 index 0000000000..49d44298f6 --- /dev/null +++ b/meta/recipes-devtools/python/python3-requests_2.32.4.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Python HTTP for Humans." | ||
2 | HOMEPAGE = "https://requests.readthedocs.io" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
5 | |||
6 | SRC_URI:append:class-nativesdk = " \ | ||
7 | file://environment.d-python3-requests.sh \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[sha256sum] = "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422" | ||
11 | |||
12 | inherit pypi python_setuptools_build_meta | ||
13 | |||
14 | do_install:append:class-nativesdk() { | ||
15 | mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d | ||
16 | install -m 644 ${UNPACKDIR}/environment.d-python3-requests.sh ${D}${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh | ||
17 | } | ||
18 | |||
19 | RDEPENDS:${PN} += " \ | ||
20 | python3-certifi \ | ||
21 | python3-email \ | ||
22 | python3-json \ | ||
23 | python3-netserver \ | ||
24 | python3-pysocks \ | ||
25 | python3-urllib3 \ | ||
26 | python3-chardet \ | ||
27 | python3-idna \ | ||
28 | python3-compression \ | ||
29 | " | ||
30 | |||
31 | FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh" | ||
32 | |||
33 | CVE_PRODUCT = "requests" | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | ||