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] = "e31b9c0190c9eaf1f792d0277b2a8ebe" SRC_URI[sha256sum] = "993257f6ca3cde55332af1f62af3e04ca89ce63c08b56a387cdd46136c72f2fa" inherit pypi setuptools 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 \ " PNBLACKLIST[python-pymongo] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"