diff options
author | Tim Orling <ticotimo@gmail.com> | 2023-12-24 09:05:56 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-29 09:04:23 -0800 |
commit | f8d66f3174b0453d9235b7f11bbe578a31f96f37 (patch) | |
tree | ef25151fbd1dfd6fcba938217bd64f5a9a0a69b8 /meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb | |
parent | 813fb0def8a8bca81706496dd6f106692616a11f (diff) | |
download | meta-openembedded-f8d66f3174b0453d9235b7f11bbe578a31f96f37.tar.gz |
python3-yappi: upgrade 1.4.0 -> 1.6.0; fix ptests
* Switch to the python_setuptools_build_meta PEP-517 backend
* Refactor and submit 0001-Fix-imports-for-ptests.patch
- split out the Windows -> Unix line endings conversion
- https://github.com/sumerc/yappi/pull/164
* Drop 0002-add-3.11-to-the-setup.patch; upstream added 3.11 and 3.12
* Drop install of yappi.py in ptest; use site-packages as intended
* Drop complex run-ptest and simply run 'pytest --automake'
* Move out of "problems" group to "slow" group in ptest-packageslists-meta-python.inc
- can now build meta-python-image-ptest-python3-yappi
- tests take about 45 seconds
https://github.com/sumerc/yappi/blob/1.6.0/CHANGELOG
1.6.0 (2023-12-07)
- Drop support 2.7-3.5 and clean backward compatible code (pull/152)
- Add Python 3.12 wheels
1.5.1 (2023-12-06)
- Add support for Python 3.12
- Fix child callgrind functions disappear
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb b/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb deleted file mode 100644 index 71e74e86f2..0000000000 --- a/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | SUMMARY = "Yet Another Python Profiler" | ||
2 | HOMEPAGE = "https://github.com/sumerc/yappi" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" | ||
6 | |||
7 | SRC_URI[sha256sum] = "504b5d8fc7433736cb5e257991d2e7f2946019174f1faec7b2fe947881a17fc0" | ||
8 | |||
9 | SRC_URI += " \ | ||
10 | file://run-ptest \ | ||
11 | file://0001-Fix-imports-for-ptests.patch \ | ||
12 | file://0002-add-3.11-to-the-setup.patch \ | ||
13 | " | ||
14 | |||
15 | inherit pypi setuptools3 ptest | ||
16 | |||
17 | RDEPENDS:${PN} += "\ | ||
18 | ${PYTHON_PN}-datetime \ | ||
19 | ${PYTHON_PN}-pickle \ | ||
20 | ${PYTHON_PN}-threading \ | ||
21 | " | ||
22 | |||
23 | RDEPENDS:${PN}-ptest += " \ | ||
24 | ${PYTHON_PN}-gevent \ | ||
25 | ${PYTHON_PN}-multiprocessing \ | ||
26 | ${PYTHON_PN}-pytest \ | ||
27 | ${PYTHON_PN}-profile \ | ||
28 | ${PYTHON_PN}-zopeinterface \ | ||
29 | " | ||
30 | |||
31 | do_install_ptest() { | ||
32 | install -d ${D}${PTEST_PATH}/tests | ||
33 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
34 | cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/ | ||
35 | } | ||
36 | |||