meta-openembedded/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb
Gyorgy Sarvari 8627277b50
python3-httpx: set CVE_PRODUCT
The relevant CVEs are tracked in the CVE db with encode:httpx CPE
instead of the default python:httpx. Set CVE_PRODUCT accordingly.

See CVE db query:
sqlite> select * from products where product like '%httpx%';
CVE-2021-41945|encode|httpx|||0.23.0|<

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

51 lines
991 B
BlitzBasic

SUMMARY = "A next generation HTTP client for Python."
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"
CVE_PRODUCT = "encode:httpx"
DEPENDS += "\
python3-hatch-fancy-pypi-readme-native \
"
PACKAGECONFIG ??= ""
PACKAGECONFIG[brotli] = ",,,python3-brotli"
PACKAGECONFIG[http2] = ",,,python3-h2"
PACKAGECONFIG[socks] = ",,,python3-socksio"
RDEPENDS:${PN} += "\
python3-anyio \
python3-certifi \
python3-httpcore \
python3-idna \
python3-sniffio \
python3-json \
python3-core \
python3-netclient \
python3-compression \
"
PACKAGES += "\
${PN}-cli \
"
RDEPENDS:${PN}-cli += "\
${PN} \
python3-click \
python3-pygments \
python3-rich \
"
FILES:${PN} = "\
${libdir}/${PYTHON_DIR} \
"
FILES:${PN}-cli = "\
${bindir}/httpx \
"