summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb b/meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb
new file mode 100644
index 0000000000..fefed051ab
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb
@@ -0,0 +1,33 @@
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] = "c94281936af77c00c6ac2306a0e7f85a67e354d717120df85fcc5dfb9243d4dd"
8
9SRC_URI += " \
10 file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
11 "
12
13inherit pypi python_setuptools_build_meta ptest-python-pytest
14
15RDEPENDS:${PN} += "\
16 python3-datetime \
17 python3-pickle \
18 python3-threading \
19"
20
21RDEPENDS:${PN}-ptest += " \
22 python3-gevent \
23 python3-multiprocessing \
24 python3-pytest \
25 python3-profile \
26 python3-unittest-automake-output \
27 python3-zopeinterface \
28"
29
30do_install_ptest:append() {
31 cp -f ${S}/run_tests.py ${D}${PTEST_PATH}
32}
33