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>
This commit is contained in:
Derek Straka 2017-09-18 16:29:51 -04:00 committed by Martin Jansa
parent 79730c917a
commit 7f63c70bbd
2 changed files with 14 additions and 6 deletions

View File

@ -11,9 +11,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2a944942e1496af1886903d274dedb13"
SRC_URI[md5sum] = "35ae53073a25603591e085b18bc5a0ec"
SRC_URI[sha256sum] = "e820d93414f3bec1fa456c84afbd4af1b43ff41366321619db74e6bc065d6924"
RDEPENDS_${PN} += " \
${PYTHON_PN}-datetime \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-threading \
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}-bson \
"

View File

@ -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 \