summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2022-03-22 14:39:11 -0400
committerTrevor Gamblin <trevor.gamblin@windriver.com>2022-03-23 09:46:31 -0400
commit716ff86b3fc3bf80f6f907cfbcd0bb5dbdfa63ad (patch)
treeb30eafb98b1f0271775dcfcaddfddfb85ccc10ab /meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
parent5a91f2b8f9c44d1c6b45761f2a715269f85115a2 (diff)
downloadmeta-openembedded-716ff86b3fc3bf80f6f907cfbcd0bb5dbdfa63ad.tar.gz
python3-pytest-lazy-fixture: add recipe
This is a minor extension of pytest that is used by some ptests, such as python3-prettytable. There is a set of ptests included (run-ptest script is based on the one from python3-aspectlib). 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/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
new file mode 100644
index 0000000000..32b5677f1a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-lazy-fixture_0.6.3.bb
@@ -0,0 +1,23 @@
1# Copyright (C) 2022 Wind River Systems
2
3SUMMARY = "Use your fixtures in @pytest.mark.parametrize."
4HOMEPAGE = "https://github.com/tvorog/pytest-lazy-fixture"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=aae6f2b7c9b3ced83e0b5bb42346d4dd"
7
8SRC_URI[sha256sum] = "0e7d0c7f74ba33e6e80905e9bfd81f9d15ef9a790de97993e34213deb5ad10ac"
9
10SRC_URI += "file://run-ptest \
11 "
12
13
14inherit ptest pypi setuptools3
15
16do_install_ptest() {
17 install -d ${D}${PTEST_PATH}/tests
18 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
19}
20
21
22RDEPENDS:${PN} += "python3-core python3-pytest"
23RDEPENDS:${PN}-ptest = " python3-unixadmin"