mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

- Tested on qemux86-64 and qemuarm64 - Added ptest into PTESTS_FAST_META_PYTHON Ptest result: ============= qemux86-64: Testsuite summary TOTAL: 115 PASS: 115 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 24 END: /usr/lib/python3-python-multipart/ptest 2024-10-11T09:02 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 115 PASS: 115 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 22 END: /usr/lib/python3-python-multipart/ptest 2024-10-11T09:08 STOP: ptest-runner TOTAL: 1 FAIL: 0 Changelog: - Enforce 100% coverage - Add mypy strict typing - Improve error message when boundary character does not match Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
559 B
BlitzBasic
25 lines
559 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/
|
|
}
|