From c3e5c9871025fcecf7398ef3996d0c2f93a0b7bb Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 31 Jul 2020 16:22:20 +0300 Subject: python3-pymongo: Upgrade 3.10.1 -> 3.11.0 Upgrade to release 3.11.0: - Added support for MongoDB 4.4. - Fixed a bug in change streams that could cause PyMongo to miss some change documents when resuming a stream that was started without a resume token and whose first batch did not contain any change documents. - Fixed an bug where using gevent.Timeout to timeout an operation could lead to a deadlock. For more details: https://pymongo.readthedocs.io/en/3.11.0/changelog.html Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pymongo_3.11.0.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_3.11.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pymongo_3.11.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_3.11.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_3.11.0.bb new file mode 100644 index 0000000000..635de22d20 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_3.11.0.bb @@ -0,0 +1,31 @@ +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[md5sum] = "5d166c8f9500c83314deadebb95b6fd5" +SRC_URI[sha256sum] = "076a7f2f7c251635cf6116ac8e45eefac77758ee5a77ab7bd2f63999e957613b" + +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