From 3fb5f62b02f812da85e818e80a1dd3c229df41c1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 15 Sep 2024 15:36:16 -0700 Subject: python3-pytest-mock: Upgrade to 3.14.0 Signed-off-by: Khem Raj --- .../python/python3-pytest-mock_3.14.0.bb | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb') 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 @@ +SUMMARY = "Thin-wrapper around the mock package for easier use with pytest" +HOMEPAGE = "https://github.com/pytest-dev/pytest-mock/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = " \ + file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ +" + +SRC_URI = " \ + git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \ + file://0001-test_pytest_mock-skip-args-introspection-tests.patch \ + file://run-ptest \ +" +SRCREV = "8733134b6194395e9cd3c745adcc9a9c09b0279e" + +inherit python_setuptools_build_meta ptest + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-mock \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest \ + python3-unittest-automake-output \ +" + +S = "${WORKDIR}/git" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf