From 8621803f49410bb1c69a17ad04a83c76a779aa04 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 1 Nov 2022 10:06:46 +0800 Subject: python3-pytest-benchmark: upgrade 3.4.1 -> 4.0.0 License-Update: Copyright year updated to 2022. Changelog: ========== Dropped support for legacy Pythons (2.7, 3.6 or older). Switched CI to GitHub Actions. Removed dependency on the py library (that was not properly specified as a dependency anyway). Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo. Contributed by Sam James in #211. Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks. Contributed by Florian Bruhin in #224. Now no save is attempted if --benchmark-disable is used. Fixes #205. Contributed by Friedrich Delgado in #207. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pytest-benchmark_4.0.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb new file mode 100644 index 0000000000..98ba6c3822 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb @@ -0,0 +1,12 @@ +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=c7d2e9d24c2b5bad57ca894da972e22e" + +SRC_URI[sha256sum] = "fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf