From f1a500d166a51717e11f07219acf85f71e2ecdac Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Wed, 12 Jan 2022 17:36:21 +0800 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-pymongo_4.0.1.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb (limited to 'meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb new file mode 100644 index 0000000000..8eb0833fd0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.0.1.bb @@ -0,0 +1,30 @@ +SUMMARY = "Python driver for MongoDB " +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 \ +" -- cgit v1.2.3-54-g00ecf