mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
28 lines
712 B
BlitzBasic
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"
|