summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb
diff options
context:
space:
mode:
authorGeoff Parker <geoffrey.parker@arthrex.com>2022-11-28 14:32:33 -0800
committerKhem Raj <raj.khem@gmail.com>2022-11-29 14:07:52 -0800
commit0844ca9af97621a6adca289572fd57f7d15433d5 (patch)
tree2fb6da793910782436f9d4a0ad68906c6bcb8041 /meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb
parent4091a12ef94a5ede27d4c303d0eb2741499bb00f (diff)
downloadmeta-openembedded-0844ca9af97621a6adca289572fd57f7d15433d5.tar.gz
python3-yappi: upgrade 1.3.6 -> 1.4.0, python 3.11 compatible
Update to 1.4.0 for python 3.11 compatibilty Add patch to add upstream commit added after the release of 1.4.0 tarball. Adds python 3.11 to setup.py Update 0001-Fix-imports-for-ptest.patch for patch fuzz and removed hunk already in 1.4.0. Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.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.bb36
1 files changed, 36 insertions, 0 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
new file mode 100644
index 0000000000..71e74e86f2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Yet Another Python Profiler"
2HOMEPAGE = "https://github.com/sumerc/yappi"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
6
7SRC_URI[sha256sum] = "504b5d8fc7433736cb5e257991d2e7f2946019174f1faec7b2fe947881a17fc0"
8
9SRC_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
15inherit pypi setuptools3 ptest
16
17RDEPENDS:${PN} += "\
18 ${PYTHON_PN}-datetime \
19 ${PYTHON_PN}-pickle \
20 ${PYTHON_PN}-threading \
21"
22
23RDEPENDS:${PN}-ptest += " \
24 ${PYTHON_PN}-gevent \
25 ${PYTHON_PN}-multiprocessing \
26 ${PYTHON_PN}-pytest \
27 ${PYTHON_PN}-profile \
28 ${PYTHON_PN}-zopeinterface \
29"
30
31do_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