aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-pymongo.inc
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-09-18 16:29:51 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-22 22:50:44 +0000
commit7f63c70bbd825f5d6c535ff10b1acfa831d8701d (patch)
tree2e7fcde7906856e30bf155749de1a860439defcc /meta-python/recipes-devtools/python/python-pymongo.inc
parent79730c917a68c27a3d9bc6bfee6e945f2daeabed (diff)
downloadmeta-openembedded-contrib-7f63c70bbd825f5d6c535ff10b1acfa831d8701d.tar.gz
python-pymongo: split the package into bson and original pymongo package
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pymongo.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-pymongo.inc16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-pymongo.inc b/meta-python/recipes-devtools/python/python-pymongo.inc
index 29c2a3f89ba..7f199b46b0d 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 \
"