summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-yappi_1.7.6.bb
blob: fefed051ab6cdc9a76e61e979fa64d668af34f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
SUMMARY  = "Yet Another Python Profiler"
HOMEPAGE = "https://github.com/sumerc/yappi"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"

SRC_URI[sha256sum] = "c94281936af77c00c6ac2306a0e7f85a67e354d717120df85fcc5dfb9243d4dd"

SRC_URI += " \
           file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
           "

inherit pypi python_setuptools_build_meta ptest-python-pytest

RDEPENDS:${PN} += "\
    python3-datetime \
    python3-pickle \
    python3-threading \
"

RDEPENDS:${PN}-ptest += " \
    python3-gevent \
    python3-multiprocessing \
    python3-pytest \
    python3-profile \
    python3-unittest-automake-output \
    python3-zopeinterface \
"

do_install_ptest:append() {
    cp -f ${S}/run_tests.py ${D}${PTEST_PATH}
}