mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
python-requests: consolidate inc and bb files into a single bb file
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a2b25b8a0e
commit
2fa9ae6fa6
|
|
@ -1,28 +0,0 @@
|
|||
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
|
||||
|
||||
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"
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user