aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2021-09-02 11:39:10 -0400
committerKhem Raj <raj.khem@gmail.com>2021-09-03 08:35:28 -0700
commit1191076e791a8641209d255d0b8cca44d669ade6 (patch)
treeed68c2aea0304a95e05b212a25e5a537876b858a /meta-python
parentb1800419769236f7c449630a9fb398e084e81e47 (diff)
downloadmeta-openembedded-1191076e791a8641209d255d0b8cca44d669ade6.tar.gz
meta-openembedded-1191076e791a8641209d255d0b8cca44d669ade6.tar.bz2
meta-openembedded-1191076e791a8641209d255d0b8cca44d669ade6.zip
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. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb16
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index ea5683ce6..b5a2f5d7d 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -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 \
diff --git a/meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb b/meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb
new file mode 100644
index 000000000..2e03512bd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb
@@ -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"