meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb
Gyorgy Sarvari f121c925e8
python-gunicorn: set CVE_PRODUCT
There is only one relevant CVE associated with this recipe in the CVE db,
but it is tracked using gunicorn:gunicorn CPE instead of python:gunicorn
(which is the default CPE from pypi.bbclass)

See CVE db query:
sqlite> select * from products where PRODUCT like '%gunicorn%';
CVE-2018-1000164|gunicorn|gunicorn|19.4.5|=||

Set CVE_PRODUCT so that it matches relevant CVEs.

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

31 lines
670 B
BlitzBasic

SUMMARY = "WSGI HTTP Server for UNIX"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf"
SRC_URI[sha256sum] = "f014447a0101dc57e294f6c18ca6b40227a4c90e9bdb586042628030cba004ec"
inherit pypi python_setuptools_build_meta ptest
CVE_PRODUCT = "gunicorn"
SRC_URI += " \
file://run-ptest \
"
# python-misc for wsgiref
RDEPENDS:${PN}-ptest += " \
python3-eventlet \
python3-gevent \
python3-misc \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += "python3-setuptools python3-fcntl"