From 2fa9ae6fa68947dcb74caf342253d0918161e49c Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Sat, 4 Apr 2020 13:29:10 -0400 Subject: python-requests: consolidate inc and bb files into a single bb file Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python3-requests_2.23.0.bb | 30 ++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-requests_2.23.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb b/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb index 0a2410f85c..9f3fb7d2e9 100644 --- a/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb @@ -1,2 +1,28 @@ -inherit setuptools3 -require python-requests.inc +DESCRIPTION = "Python HTTP for Humans." +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 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" -- cgit v1.2.3-54-g00ecf