blob: 75de4dfbe035130bd1bcc32c29b1b01147e314cc [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Yet Another Python Profiler"
2HOMEPAGE = "http://yappi.googlecode.com/"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8"
6
7SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8"
8SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf"
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.py ${D}/${PTEST_PATH}/
32}