Signed-off-by: Derek Straka <[email protected]>
---
 meta-python/recipes-devtools/python/python-pymongo.inc   | 16 ++++++++++++----
 .../recipes-devtools/python/python3-pymongo_3.5.1.bb     |  2 +-
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pymongo.inc 
b/meta-python/recipes-devtools/python/python-pymongo.inc
index 29c2a3f..7f199b4 100644
--- a/meta-python/recipes-devtools/python/python-pymongo.inc
+++ b/meta-python/recipes-devtools/python/python-pymongo.inc
@@ -11,9 +11,17 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=2a944942e1496af1886903d274dedb13"
 SRC_URI[md5sum] = "35ae53073a25603591e085b18bc5a0ec"
 SRC_URI[sha256sum] = 
"e820d93414f3bec1fa456c84afbd4af1b43ff41366321619db74e6bc065d6924"
 
+PACKAGES =+ "${PYTHON_PN}-bson"
+
+FILES_${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*"
+
+RDEPENDS_${PYTHON_PN}-bson += " \
+     ${PYTHON_PN}-datetime \
+     ${PYTHON_PN}-netclient \
+     ${PYTHON_PN}-numbers \
+     ${PYTHON_PN}-threading \
+"
+
 RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-numbers \
-    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-bson \
 "
diff --git a/meta-python/recipes-devtools/python/python3-pymongo_3.5.1.bb 
b/meta-python/recipes-devtools/python/python3-pymongo_3.5.1.bb
index 3b250a1..9f02cab 100644
--- a/meta-python/recipes-devtools/python/python3-pymongo_3.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pymongo_3.5.1.bb
@@ -2,7 +2,7 @@ inherit pypi setuptools3
 require python-pymongo.inc
 
 # Requires _pydecimal which is in misc
-RDEPENDS_${PN} += " \
+RDEPENDS_${PYTHON_PN}-bson += " \
     ${PYTHON_PN}-enum \
     ${PYTHON_PN}-misc \
     ${PYTHON_PN}-selectors \
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to