blob: 1c1e451f3e85207f3addb91feb096d623f17b5ac (
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
34
35
36
|
SUMMARY = "A toolkit to write, run and analyze benchmarks"
DESCRIPTION = " \
The Python pyperf module is a toolkit to write, run and analyze benchmarks. \
Features: \
* Simple API to run reliable benchmarks \
* Automatically calibrate a benchmark for a time budget. \
* Spawn multiple worker processes. \
* Compute the mean and standard deviation. \
* Detect if a benchmark result seems unstable. \
* JSON format to store benchmark results. \
* Support multiple units: seconds, bytes and integer. \
"
HOMEPAGE = "https://github.com/vstinner/pyperf"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8"
SRC_URI[md5sum] = "e30b67b62a4e30e4504352d0778c622c"
SRC_URI[sha256sum] = "0d214aa65e085d3e4108a36152cb12f7cd0f4e7fda93b5134b43a9687c975786"
inherit pypi setuptools
PYPI_PACKAGE = "pyperf"
DEPENDS += "${PYTHON_PN}-six-native"
RDEPENDS_${PN} += "\
${PYTHON_PN}-contextlib \
${PYTHON_PN}-datetime \
${PYTHON_PN}-fcntl \
${PYTHON_PN}-math \
${PYTHON_PN}-numbers \
${PYTHON_PN}-six \
${PYTHON_PN}-statistics \
"
PNBLACKLIST[python-pyperf] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
|