summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
new file mode 100644
index 0000000000..fe2479c836
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Thin-wrapper around the mock package for easier use with pytest"
2HOMEPAGE = "https://github.com/pytest-dev/pytest-mock/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = " \
5 file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \
6"
7
8SRC_URI = " \
9 git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \
10 file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
11 file://run-ptest \
12"
13SRCREV = "8733134b6194395e9cd3c745adcc9a9c09b0279e"
14
15inherit python_setuptools_build_meta ptest
16
17DEPENDS += "python3-setuptools-scm-native"
18
19RDEPENDS:${PN} += " \
20 python3-asyncio \
21 python3-mock \
22 python3-pytest \
23 python3-pytest-asyncio \
24 python3-unittest \
25 python3-unittest-automake-output \
26"
27
28S = "${WORKDIR}/git"
29
30do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/tests
32 cp -rf ${S}/tests ${D}${PTEST_PATH}/
33}