Skip to contentSkip to conversation

python3-pytest-codspeed: Add recipe

PATCH New Khem Raj 1 participant 2 messages Oct 15, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 python3-pytest-codspeed: Add recipe

Needed by yarl ptests

---
 .../python/python3-pytest-codspeed_2.2.1.bb          | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-codspeed_2.2.1.bb
meta-python/recipes-devtools/python/python3-pytest-codspeed_2.2.1.bb new file +12 -0
new file mode 100644
index 0000000000..b7b5461f6b
@@ -0,0 +1,12 @@
+SUMMARY = "Pytest plugin to create CodSpeed benchmarks"
+HOMEPAGE = "https://codspeed.io/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3"
+
+DEPENDS = "python3-hatchling-native"
+SRC_URI[sha256sum] = "0adc24baf01c64a6ca0a0b83b3cd704351708997e09ec086b7776c32227d4e0a"
+
+inherit pypi python_hatchling
+
+PYPI_PACKAGE = "pytest_codspeed"
+RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest"
author
#1 lore raw

PATCH 2/2 python3-yarl: Add missing dependency on codspeed module

---
 meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb +1 -0
index 0a15b2e34c..475c71bba7 100644
@@ -26,6 +26,7 @@ RDEPENDS:${PN} = "\
 RDEPENDS:${PN}-ptest += " \
     python3-hypothesis \
     python3-pytest \
+    python3-pytest-codspeed \
     python3-unittest-automake-output \
 "