[oe-commits] [meta-openembedded] 30/32: python-pymongo: split the package into bson and original pymongo package
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 19 12:41:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 574cb934657e70024a9688737648b4445eeb1b14
Author: Derek Straka <derek at asterius.io>
AuthorDate: Mon Sep 18 16:29:51 2017 -0400
python-pymongo: split the package into bson and original pymongo package
Signed-off-by: Derek Straka <derek at asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
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 \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list