Files
poky/meta/recipes-devtools/python/python3-requests_2.28.1.bb
Chen Qi d7c48cefb1 python3-requests: add python3-compression dependency
python3-requests makes use of 'zipfile' module, so we need to add
python3-compression as a dependency, otherwise 'import requests'
errors out.

(From OE-Core rev: 6cfe2ed2234a76a3f9da194097781e8d6ce1353b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-25 11:08:06 +01:00

27 lines
682 B
BlitzBasic

DESCRIPTION = "Python HTTP for Humans."
HOMEPAGE = "http://python-requests.org"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
SRC_URI[sha256sum] = "7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983"
inherit pypi setuptools3
RDEPENDS:${PN} += " \
${PYTHON_PN}-email \
${PYTHON_PN}-json \
${PYTHON_PN}-ndg-httpsclient \
${PYTHON_PN}-netserver \
${PYTHON_PN}-pyasn1 \
${PYTHON_PN}-pyopenssl \
${PYTHON_PN}-pysocks \
${PYTHON_PN}-urllib3 \
${PYTHON_PN}-chardet \
${PYTHON_PN}-idna \
${PYTHON_PN}-compression \
"
CVE_PRODUCT = "requests"
BBCLASSEXTEND = "native nativesdk"