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 | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "a51d3e6e5563cc74b5bb82ed6e7bd44a9c1a7eae3d97e4d52e9465edb3a8da8d" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | SRC_URI += " \ |
| 10 | file://run-ptest \ |
| 11 | " |
| 12 | |
| 13 | inherit pypi setuptools3 ptest |
| 14 | |
| 15 | RDEPENDS_${PN} += "\ |
| 16 | ${PYTHON_PN}-datetime \ |
| 17 | ${PYTHON_PN}-pickle \ |
| 18 | ${PYTHON_PN}-threading \ |
| 19 | " |
| 20 | |
| 21 | RDEPENDS_${PN}-ptest += " \ |
| 22 | ${PYTHON_PN}-pytest \ |
| 23 | ${PYTHON_PN}-multiprocessing \ |
| 24 | ${PYTHON_PN}-profile \ |
| 25 | " |
| 26 | |
| 27 | do_install_ptest() { |
| 28 | install -d ${D}${PTEST_PATH}/tests |
| 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 30 | cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 31 | } |