From bdd244a6c1dc949bec0ce738b7c131ee4a1cc512 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Thu, 2 Dec 2021 11:41:37 +0800 Subject: python3-pymongo: upgrade 3.12.0 -> 4.0 See changelog: https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-pymongo_4.0.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pymongo_4.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.0.bb new file mode 100644 index 0000000000..ea057c1804 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.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] = "6d158eadba3aaab276a3b188b7f467ab0384b68c1d31cfa87335e52addd9dcb6" + +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