Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_4.15.5.bb
Gyorgy Sarvari 389d1a4b3e python3-pymongo: set CVE_PRODUCT
The default python:pymongo CPE fails to match related CVE entries, because
they are tracked using mongodb:pymongo CPE. Set CVE_PRODUCT accordingly.

See CVE db query:
sqlite> select * from products where product like '%pymongo%';
CVE-2024-5629|mongodb|pymongo|||4.6.3|<|0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-31 08:34:04 -08:00

39 lines
1.1 KiB
BlitzBasic

SUMMARY = "Python driver for MongoDB <http://www.mongodb.org>"
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 = "https://github.com/mongodb/mongo-python-driver"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRC_URI[sha256sum] = "3a8d6bf2610abe0c97c567cf98bf5bba3e90ccc93cc03c9dde75fa11e4267b42"
CVE_PRODUCT = "pymongo"
inherit pypi 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 \
"