diff options
author | alperak <alperyasinak1@gmail.com> | 2024-10-11 16:04:38 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-10-11 07:52:23 -0700 |
commit | e3815d18dd2170dd7ee0e3723b27673a3fdfc111 (patch) | |
tree | 165c2b22c56ba1cece25e7c87ad88de07bf02c78 /meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb | |
parent | 6f49be3368a7af12a60e78b660114880c6db89dc (diff) | |
download | meta-openembedded-e3815d18dd2170dd7ee0e3723b27673a3fdfc111.tar.gz |
python3-python-multipart: upgrade 0.0.11 > 0.0.12 and enable ptest
- 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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb new file mode 100644 index 0000000000..340e297b83 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.12.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "A streaming multipart parser for Python" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" | ||
4 | |||
5 | SRC_URI[sha256sum] = "045e1f98d719c1ce085ed7f7e1ef9d8ccc8c02ba02b5566d5f7521410ced58cb" | ||
6 | |||
7 | inherit pypi python_hatchling ptest | ||
8 | |||
9 | PYPI_PACKAGE = "python_multipart" | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | |||
15 | RDEPENDS:${PN}-ptest = " \ | ||
16 | python3-pytest \ | ||
17 | python3-pyyaml \ | ||
18 | python3-unittest-automake-output \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
24 | } | ||