mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 23:28:38 +00:00
python3-pymongo: upgrade 4.0 -> 4.0.1
changelog: =============================================================================== :meth:`pymongo.collection.Collection.update_one`, :meth:`pymongo.collection.Collection.update_many`, :meth:`pymongo.collection.Collection.delete_one`, :meth:`pymongo.collection.Collection.delete_many`, :meth:`pymongo.collection.Collection.aggregate`, :meth:`pymongo.collection.Collection.find_one_and_delete`, :meth:`pymongo.collection.Collection.find_one_and_replace`, :meth:`pymongo.collection.Collection.find_one_and_update`, and :meth:`pymongo.collection.Collection.find` all support a new keyword argument let which is a map of parameter names and values. Parameters can then be accessed as variables in an aggregate expression context. :meth:`~pymongo.collection.Collection.aggregate` now supports $merge and $out executing on secondaries on MongoDB >=5.0. aggregate() now always obeys the collection's :attr:`read_preference` on MongoDB >= 5.0. Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
30
meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb
Normal file
30
meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "Python driver for MongoDB <http://www.mongodb.org>"
|
||||
DESCRIPTION = "\
|
||||
The PyMongo distribution contains tools for interacting with MongoDB \
|
||||
database from Python. The bson package is an implementation of the BSON \
|
||||
format for Python. The pymongo package is a native Python driver for \
|
||||
MongoDB. The gridfs package is a gridfs implementation on top of pymongo."
|
||||
HOMEPAGE = "http://github.com/mongodb/mongo-python-driver"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
|
||||
|
||||
SRC_URI[sha256sum] = "13d0624c13a91da71fa0d960205d93b3d98344481be865ee7cc238c972d41d73"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
PACKAGES =+ "${PYTHON_PN}-bson"
|
||||
|
||||
FILES:${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*"
|
||||
|
||||
RDEPENDS:${PYTHON_PN}-bson += " \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-numbers \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-bson \
|
||||
${PYTHON_PN}-pprint \
|
||||
"
|
||||
Reference in New Issue
Block a user