diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-08-24 16:17:55 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-26 17:32:44 -0700 |
commit | b11b1a87e1b1c7cf92747c6bec8ce4a60112513b (patch) | |
tree | 692da7132842d5f757c5723f0d3b664bad9a1099 /meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb | |
parent | 346e328c318215c9719161bdeca294027abdb4d1 (diff) | |
download | meta-openembedded-b11b1a87e1b1c7cf92747c6bec8ce4a60112513b.tar.gz |
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pymongo_4.5.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "Python driver for MongoDB <http://www.mongodb.org>" | ||
2 | DESCRIPTION = "\ | ||
3 | The PyMongo distribution contains tools for interacting with MongoDB \ | ||
4 | database from Python. The bson package is an implementation of the BSON \ | ||
5 | format for Python. The pymongo package is a native Python driver for \ | ||
6 | MongoDB. The gridfs package is a gridfs implementation on top of pymongo." | ||
7 | HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" | ||
8 | LICENSE = "Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
10 | |||
11 | SRC_URI[sha256sum] = "681f252e43b3ef054ca9161635f81b730f4d8cadd28b3f2b2004f5a72f853982" | ||
12 | |||
13 | inherit pypi setuptools3 | ||
14 | |||
15 | PACKAGES =+ "${PYTHON_PN}-bson" | ||
16 | |||
17 | FILES:${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" | ||
18 | |||
19 | RDEPENDS:${PYTHON_PN}-bson += " \ | ||
20 | ${PYTHON_PN}-datetime \ | ||
21 | ${PYTHON_PN}-json \ | ||
22 | ${PYTHON_PN}-netclient \ | ||
23 | ${PYTHON_PN}-numbers \ | ||
24 | ${PYTHON_PN}-threading \ | ||
25 | " | ||
26 | |||
27 | RDEPENDS:${PN} += " \ | ||
28 | ${PYTHON_PN}-bson \ | ||
29 | ${PYTHON_PN}-pprint \ | ||
30 | " | ||