From 5eb792407a7a8d1044d6f5d25e4beec89a0b93fa Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 30 Sep 2024 15:42:51 +0800 Subject: python3-pymongo: upgrade 4.8.0 -> 4.9.1 Changelog: ========== - Added support for MongoDB 8.0 and Python 3.13. - A new asynchronous API 19 with full asyncio support. - Added support for In-Use Encryption range queries with MongoDB 8.0. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pymongo_4.9.1.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.9.1.bb (limited to 'meta-python/recipes-devtools/python/python3-pymongo_4.9.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.9.1.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.9.1.bb new file mode 100644 index 0000000000..5064032bc9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.9.1.bb @@ -0,0 +1,36 @@ +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] = "b7f2d34390acf60e229c30037d1473fcf69f4536cd7f48f6f78c0c931c61c505" + +inherit pypi python_setuptools_build_meta python_hatchling + +PACKAGES =+ "python3-bson" + +FILES:python3-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" + +DEPENDS += " \ + python3-hatch-requirements-txt-native \ +" + +RDEPENDS:python3-bson += " \ + python3-datetime \ + python3-json \ + python3-netclient \ + python3-numbers \ + python3-threading \ +" + +RDEPENDS:${PN} += " \ + python3-bson \ + python3-pprint \ + python3-difflib \ + python3-logging \ +" -- cgit v1.2.3-54-g00ecf