From: Jan Vermaete Date: Sun, 24 May 2026 15:17:12 +0000 (+0200) Subject: python3-requests: Cleanup recipe X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6cf32f9b2f99013e08487577e31cca18ea740ed2;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3-requests: Cleanup recipe + added the DESCRIPTION taken from the README.md + sorted the RDEPENDS + untabify Signed-off-by: Jan Vermaete Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-devtools/python/python3-requests_2.34.2.bb b/meta/recipes-devtools/python/python3-requests_2.34.2.bb index 79ce30feef..8230e8ce43 100644 --- a/meta/recipes-devtools/python/python3-requests_2.34.2.bb +++ b/meta/recipes-devtools/python/python3-requests_2.34.2.bb @@ -1,4 +1,5 @@ SUMMARY = "Python HTTP for Humans." +DESCRIPTION = "Requests is a simple, yet elegant, HTTP library." HOMEPAGE = "https://requests.readthedocs.io" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" @@ -10,20 +11,20 @@ SRC_URI[sha256sum] = "f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e9 SRC_URI:append:class-nativesdk = " file://environment.d-python3-requests.sh" do_install:append:class-nativesdk() { - mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d - install -m 644 ${UNPACKDIR}/environment.d-python3-requests.sh ${D}${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh + mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d + install -m 644 ${UNPACKDIR}/environment.d-python3-requests.sh ${D}${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh } -RDEPENDS:${PN} += " \ +RDEPENDS:${PN} += "\ python3-certifi \ + python3-chardet \ + python3-compression \ python3-email \ + python3-idna \ python3-json \ python3-netserver \ python3-pysocks \ python3-urllib3 \ - python3-chardet \ - python3-idna \ - python3-compression \ " FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh"