Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Yet Another Python Profiler" |
| 2 | HOMEPAGE = "http://yappi.googlecode.com/" |
| 3 | |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8" |
| 6 | |
| 7 | SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8" |
| 8 | SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf" |
| 9 | |
| 10 | SRC_URI += " \ |
| 11 | file://run-ptest \ |
| 12 | " |
| 13 | |
| 14 | inherit pypi setuptools3 ptest |
| 15 | |
| 16 | RDEPENDS_${PN} += "\ |
| 17 | ${PYTHON_PN}-datetime \ |
| 18 | ${PYTHON_PN}-pickle \ |
| 19 | ${PYTHON_PN}-threading \ |
| 20 | " |
| 21 | |
| 22 | RDEPENDS_${PN}-ptest += " \ |
| 23 | ${PYTHON_PN}-pytest \ |
| 24 | ${PYTHON_PN}-multiprocessing \ |
| 25 | ${PYTHON_PN}-profile \ |
| 26 | " |
| 27 | |
| 28 | do_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 | } |