summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-11-04 13:28:55 -0700
committerKhem Raj <raj.khem@gmail.com>2023-11-06 08:47:36 -0800
commit44eed7633d6a0d3f445aac7b158b1aa10e9d2e0c (patch)
treefd20dbeacf8bb4ae11e9341c853265ea2581ce92 /meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
parentfc3caea86167f1a8804b76f1992a8475df08f6fe (diff)
downloadmeta-openembedded-44eed7633d6a0d3f445aac7b158b1aa10e9d2e0c.tar.gz
python3-pytest-mock: upgrade 3.11.1 -> 3.12.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
new file mode 100644
index 0000000000..f95ebecdda
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
@@ -0,0 +1,36 @@
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://run-ptest \
11 file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
12"
13
14SRCREV ?= "d3e73f2e93f7b93eba0a36e17e43bafd969da4fe"
15
16SRC_URI[sha256sum] = "fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f"
17
18inherit setuptools3 ptest
19
20DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
21
22RDEPENDS:${PN} += " \
23 python3-asyncio \
24 python3-pytest \
25 python3-pytest-asyncio \
26 python3-unittest \
27"
28
29S = "${WORKDIR}/git"
30
31do_install_ptest() {
32 install -d ${D}${PTEST_PATH}/tests
33 cp -rf ${S}/tests ${D}${PTEST_PATH}/
34}
35
36SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"