meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb
Gyorgy Sarvari 0620851d87
python3-dnspython: set CVE_PRODUCT
The related CVEs are tracked using dnspython:dnspython CPE, and the
default python:dnspython CPE doesn't match relevant entries.
Set CVE_PRODUCT accordingly.

See CVE db query:
sqlite> select * from products where product like '%dnspython%';
CVE-2023-29483|dnspython|dnspython|||2.6.0|<

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

39 lines
787 B
BlitzBasic

DESCRIPTION = "DNS toolkit for Python"
HOMEPAGE = "https://www.dnspython.org/"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34"
SRC_URI[sha256sum] = "181d3c6996452cb1189c4046c61599b84a5a86e099562ffde77d26984ff26d0f"
CVE_PRODUCT = "dnspython"
inherit pypi python_hatchling ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
DEPENDS += "\
python3-wheel-native \
python3-setuptools-scm-native \
"
RDEPENDS:${PN} += " \
python3-crypt \
python3-io \
python3-math \
python3-netclient \
python3-numbers \
python3-threading \
"