From b11b1a87e1b1c7cf92747c6bec8ce4a60112513b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 24 Aug 2023 16:17:55 +0800 Subject: python3-pymongo: upgrade 4.4.1 -> 4.5.0 Changelog ========= Added new helper methods for Atlas Search Index (requires MongoDB Server 7.0+). Added Database.cursor_command to support executing an arbitrary command that returns a cursor. Improved bson encoding and decoding performance by up to 134%. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pymongo_4.5.0.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb new file mode 100644 index 0000000000..9ae3eef0c1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.5.0.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] = "681f252e43b3ef054ca9161635f81b730f4d8cadd28b3f2b2004f5a72f853982" + +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