meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb
Khem Raj 0f410a45fb
python3-python-multipart: Fix ptest dependencie
Do not overwerite implicit dependencies, otherwise
ptests stop depending upon the correcpoding python module
resulting in runtime failures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-11 12:12:19 -07:00

25 lines
560 B
BlitzBasic

SUMMARY = "A streaming multipart parser for Python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e"
SRC_URI[sha256sum] = "045e1f98d719c1ce085ed7f7e1ef9d8ccc8c02ba02b5566d5f7521410ced58cb"
inherit pypi python_hatchling ptest
PYPI_PACKAGE = "python_multipart"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-pyyaml \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}