Skip to contentSkip to conversation

python3-pytest-subtests: add recipe

PATCH New Trevor Gamblin 1 participant 1 message Sep 2, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 python3-pytest-subtests: add recipe

Newer versions of python3-cryptography will rely on the subtests fixture for their ptests. Add this recipe so that cryptography can be given the necessary RDEPENDS when it is upgraded.

---
 .../packagegroups/packagegroup-meta-python.bb    |  1 +
 .../python/python3-pytest-subtests_0.5.0.bb      | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index ea5683ce6..b5a2f5d7d 100644
@@ -348,6 +348,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-pytest-html \
     python3-pytest-metadata \
     python3-pytest-runner \
+    python3-pytest-subtests \
     python3-pytest-tempdir \
     python3-pytest-timeout \
     python3-pythonping \
meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb new file +16 -0
new file mode 100644
index 000000000..2e03512bd
@@ -0,0 +1,16 @@
+DESCRIPTION = "unittest subTest() support and subtests fixture."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
+
+SRC_URI[sha256sum] = "5bd1e4bf0eda4c89a6cd42b0ee28e1d2ca0848de3fd67ad8cdd6d559ed00f120"
+
+inherit pypi setuptools3
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-pytest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.31.1