From dc4f8b38043bfb8418ec9e5881cdf4e50e700114 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 19 Jan 2021 19:37:39 +0200 Subject: python3-pyperf: Upgrade 2.0.0 -> 2.1.0 Upgrade to release 2.1.0: - The compare_to command now computes the geometric mean. - The compare_to command no longer displays percentages: display less numbers to make the output easier to read. Also, percentage were almost the same values than the xxx faster or xxx slower values, but rounded differenly which introduced confusion. - Project moved to https://github.com/psf/pyperf/ - system command now only emits a warning rather than failing with a hard error if it fails to get or set the frequency of a CPU. - The pyperf project is now covered by the PSF Code of Conduct. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pyperf_2.0.0.bb | 24 ---------------------- .../python/python3-pyperf_2.1.0.bb | 23 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyperf_2.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.0.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.0.0.bb deleted file mode 100644 index 7ced7d0174..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyperf_2.0.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -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. \ -" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" - -SRC_URI[md5sum] = "7f62d3f6fc5475138791d3d883fdf4cd" -SRC_URI[sha256sum] = "2189fbc4af08d519f85468e70e32c902eab0f1341b2c41028b94b2832d3169a7" - -DEPENDS += "${PYTHON_PN}-six-native" - -PYPI_PACKAGE = "pyperf" -inherit pypi setuptools3 - -RDEPENDS_${PN} += "${PYTHON_PN}-misc" diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb new file mode 100644 index 0000000000..b57ea16eba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb @@ -0,0 +1,23 @@ +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. \ +" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" + +SRC_URI[sha256sum] = "1257d673d89fdcdbaec8077afeb365e7a94739c1b263572b09403cac25708ad3" + +DEPENDS += "${PYTHON_PN}-six-native" + +PYPI_PACKAGE = "pyperf" +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-misc" -- cgit v1.2.3-54-g00ecf