[2/7] python3-pytest-benchmark: move from meta-python

Message ID 20220517081633.2992360-2-mingli.yu@windriver.com
State New
Headers show
Series [v2,1/7] python3-cryptography: add python3-pytest-benchmark rdepends | expand

Commit Message

Yu, Mingli May 17, 2022, 8:16 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

A pytest fixture for benchmarking code. It will group the tests
into rounds that are calibrated to the chosen timer.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../python/python3-pytest-benchmark_3.4.1.bb      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pytest-benchmark_3.4.1.bb

Patch

diff --git a/meta/recipes-devtools/python/python3-pytest-benchmark_3.4.1.bb b/meta/recipes-devtools/python/python3-pytest-benchmark_3.4.1.bb
new file mode 100644
index 0000000000..bde9935ffe
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest-benchmark_3.4.1.bb
@@ -0,0 +1,15 @@ 
+# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer."
+HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9c5c2c74370826468065c5702b8a1fcf"
+
+SRC_URI[sha256sum] = "40e263f912de5a81d891619032983557d62a3d85843f9a9f30b98baea0cd7b47"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib"
+
+BBCLASSEXTEND = "native nativesdk"