meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.4.0.bb
Geoff Parker 0844ca9af9 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>
2022-11-29 14:07:52 -08:00

37 lines
879 B
BlitzBasic

SUMMARY = "Yet Another Python Profiler"
HOMEPAGE = "https://github.com/sumerc/yappi"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
SRC_URI[sha256sum] = "504b5d8fc7433736cb5e257991d2e7f2946019174f1faec7b2fe947881a17fc0"
SRC_URI += " \
file://run-ptest \
file://0001-Fix-imports-for-ptests.patch \
file://0002-add-3.11-to-the-setup.patch \
"
inherit pypi setuptools3 ptest
RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-pickle \
${PYTHON_PN}-threading \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-gevent \
${PYTHON_PN}-multiprocessing \
${PYTHON_PN}-pytest \
${PYTHON_PN}-profile \
${PYTHON_PN}-zopeinterface \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
}