From 6ba3dfb344b30240294323b76243dd0f85e986d0 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 29 Jun 2020 15:12:31 +0300 Subject: python3-yappi: Upgrade 1.0 -> 1.2.5 Fix HOMEPAGE. Use file LICENSE for LIC_FILES_CHKSUM. Upgrade to release 1.2.5: - Fix tag/ctx_id filtering on get_func_stats - Add filter_callback to get_func_stats() for filtering function/module descriptors - FIX: issues related to invalid conversion from long->ptr in Win32 - Optimize tstate->dict retrieval - Various other fixes Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-yappi_1.0.bb | 32 ---------------------- .../recipes-devtools/python/python3-yappi_1.2.5.bb | 32 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-yappi_1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.0.bb b/meta-python/recipes-devtools/python/python3-yappi_1.0.bb deleted file mode 100644 index 75de4dfbe0..0000000000 --- a/meta-python/recipes-devtools/python/python3-yappi_1.0.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "Yet Another Python Profiler" -HOMEPAGE = "http://yappi.googlecode.com/" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8" - -SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8" -SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf" - -SRC_URI += " \ - file://run-ptest \ -" - -inherit pypi setuptools3 ptest - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-threading \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-profile \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ - cp -f ${S}/yappi.py ${D}/${PTEST_PATH}/ -} diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb b/meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb new file mode 100644 index 0000000000..366dec3dc1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb @@ -0,0 +1,32 @@ +SUMMARY = "Yet Another Python Profiler" +HOMEPAGE = "https://github.com/sumerc/yappi" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" + +SRC_URI[md5sum] = "83237494e7d22df2a31935a1e6650fa6" +SRC_URI[sha256sum] = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit pypi setuptools3 ptest + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-threading \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-profile \ +" + +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}/ +} -- cgit 1.2.3-korg