blob: 7c3f0fd4be6db3d760f41e9e5dd817c3f2d6d4ac [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Yet Another Python Profiler"
Andrew Geisslerd221e032020-07-10 16:13:21 -05002HOMEPAGE = "https://github.com/sumerc/yappi"
Andrew Geissler82c905d2020-04-13 13:39:40 -05003
4LICENSE = "MIT"
Andrew Geisslerd221e032020-07-10 16:13:21 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
Andrew Geisslereef63862021-01-29 15:58:13 -06007SRC_URI[sha256sum] = "a51d3e6e5563cc74b5bb82ed6e7bd44a9c1a7eae3d97e4d52e9465edb3a8da8d"
Andrew Geissler82c905d2020-04-13 13:39:40 -05008
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/
Andrew Geisslerd221e032020-07-10 16:13:21 -050030 cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
Andrew Geissler82c905d2020-04-13 13:39:40 -050031}