From 60d25ced3734364a653c7f39352e4b4bcffc8705 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 18 Nov 2024 17:29:52 +0800 Subject: python3-yappi: upgrade 1.6.0 -> 1.6.10 py3.13.patch removed since it's included in 1.6.10 Changelog: ========= - Fix source distribution not released - Fix error not cleared from an internal PyObject_GetAttrString call Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-yappi_1.6.10.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb (limited to 'meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb') diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb new file mode 100644 index 0000000000..c87d5aca61 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb @@ -0,0 +1,36 @@ +SUMMARY = "Yet Another Python Profiler" +HOMEPAGE = "https://github.com/sumerc/yappi" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" + +SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92" + +SRC_URI += "file://run-ptest \ + file://0001-test_functionality-convert-line-endings-to-Unix.patch \ + file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \ + " + +inherit pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN} += "\ + python3-datetime \ + python3-pickle \ + python3-threading \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-gevent \ + python3-multiprocessing \ + python3-pytest \ + python3-profile \ + python3-unittest-automake-output \ + python3-zopeinterface \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests ${D}${PTEST_PATH} + cp -f ${S}/run_tests.py ${D}${PTEST_PATH} +} + -- cgit v1.2.3-54-g00ecf