Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Yet Another Python Profiler" |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://github.com/sumerc/yappi" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | |
| 4 | LICENSE = "MIT" |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 7 | SRC_URI[md5sum] = "6dde41b116566cbe1575e41a1e376f74" |
| 8 | SRC_URI[sha256sum] = "a443240f4a776fa1be04430bf423dbf09615c05eba34f4a2a6af344a7ce8ff61" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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/ |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 31 | cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 32 | } |