summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb b/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb
new file mode 100644
index 0000000000..7c3f0fd4be
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-yappi_1.3.2.bb
@@ -0,0 +1,31 @@
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] = "a51d3e6e5563cc74b5bb82ed6e7bd44a9c1a7eae3d97e4d52e9465edb3a8da8d"
8
9SRC_URI += " \
10 file://run-ptest \
11"
12
13inherit pypi setuptools3 ptest
14
15RDEPENDS_${PN} += "\
16 ${PYTHON_PN}-datetime \
17 ${PYTHON_PN}-pickle \
18 ${PYTHON_PN}-threading \
19"
20
21RDEPENDS_${PN}-ptest += " \
22 ${PYTHON_PN}-pytest \
23 ${PYTHON_PN}-multiprocessing \
24 ${PYTHON_PN}-profile \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/tests
29 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
30 cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
31}