blob: 88119f37caee6dcce301596637c0df0720c970b2 (
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
36
|
SUMMARY = "Python HTTP for Humans."
DESCRIPTION = "Requests allows you to send HTTP/1.1 requests extremely easily. \
There’s no need to manually add query strings to your URLs, or to form-encode \
your POST data. Keep-alive and HTTP connection pooling are 100% automatic, \
thanks to urllib3."
HOMEPAGE = "http://python-requests.org"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
FILESEXTRAPATHS:prepend := "${THISDIR}/python-requests:"
SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6"
SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"
inherit pypi setuptools
RDEPENDS:${PN} += " \
${PYTHON_PN}-chardet \
${PYTHON_PN}-email \
${PYTHON_PN}-idna \
${PYTHON_PN}-json \
${PYTHON_PN}-ndg-httpsclient \
${PYTHON_PN}-netserver \
${PYTHON_PN}-pyasn1 \
${PYTHON_PN}-pyopenssl \
${PYTHON_PN}-pysocks \
${PYTHON_PN}-urllib3 \
${PYTHON_PN}-zlib \
"
CVE_PRODUCT = "requests"
BBCLASSEXTEND = "native nativesdk"
PNBLACKLIST[python-requests] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
|