[oe] [meta-python][PATCH] python(3)-requests: add DEPENDS_class-native
Peter Kolbus
peter.kolbus at garmin.com
Wed Dec 18 20:13:37 UTC 2019
Change-Id: Ie8bd80d56da599b29430da65b303d69bba43fdda
---
.../recipes-devtools/python/python-requests.inc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-requests.inc b/meta-python/recipes-devtools/python/python-requests.inc
index 5fe5dc21f..ea2983821 100644
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ b/meta-python/recipes-devtools/python/python-requests.inc
@@ -23,6 +23,16 @@ RDEPENDS_${PN} += " \
${PYTHON_PN}-idna \
"
+DEPENDS_class-native += " \
+ ${PYTHON_PN}-ndg-httpsclient-native \
+ ${PYTHON_PN}-pyasn1-native \
+ ${PYTHON_PN}-pyopenssl-native \
+ ${PYTHON_PN}-pysocks-native \
+ ${PYTHON_PN}-urllib3-native \
+ ${PYTHON_PN}-chardet-native \
+ ${PYTHON_PN}-idna-native \
+"
+
CVE_PRODUCT = "requests"
BBCLASSEXTEND = "native nativesdk"
--
2.24.1
I have a small handful of recipes that need similar treatment to ensure
the sysroot contains indirect dependencies. If there's a better
approach, please let me know -- my experience with OE and bitbake are
limited.
More information about the Openembedded-devel
mailing list