summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb32
1 files changed, 32 insertions, 0 deletions
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 @@
1SUMMARY = "Yet Another Python Profiler"
2HOMEPAGE = "https://github.com/sumerc/yappi"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
6
7SRC_URI[md5sum] = "83237494e7d22df2a31935a1e6650fa6"
8SRC_URI[sha256sum] = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11"
9
10SRC_URI += " \
11 file://run-ptest \
12"
13
14inherit pypi setuptools3 ptest
15
16RDEPENDS_${PN} += "\
17 ${PYTHON_PN}-datetime \
18 ${PYTHON_PN}-pickle \
19 ${PYTHON_PN}-threading \
20"
21
22RDEPENDS_${PN}-ptest += " \
23 ${PYTHON_PN}-pytest \
24 ${PYTHON_PN}-multiprocessing \
25 ${PYTHON_PN}-profile \
26"
27
28do_install_ptest() {
29 install -d ${D}${PTEST_PATH}/tests
30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
31 cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
32}