meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb
Fabio Berton 3033552354 python3-requests: Support idna version 3.1
Change idna required version to use python3-idna recipe that currently
is on version 3.1.

Without this change python-request doesn't work as the idna version
doesn't match the required versions. When bump python-request recipe,
verify if the upstream project bumped the idna version and drop this
patch.

As this recipe was tested with python3-idna_3.1 don't allow higher
versions.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-08 07:29:49 -08:00

28 lines
712 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 += "file://setup.py-Support-idna-version-3.1.patch"
SRC_URI[sha256sum] = "27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"
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 \
"
CVE_PRODUCT = "requests"
BBCLASSEXTEND = "native nativesdk"