diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-09-15 15:36:16 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-15 16:03:12 -0700 |
| commit | 3fb5f62b02f812da85e818e80a1dd3c229df41c1 (patch) | |
| tree | bec4ae935259634cdb646a1e9d01c02a0919f7e9 /meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb | |
| parent | 0bc332a0418281a20435f7fa3c712ad1e1807337 (diff) | |
| download | meta-openembedded-3fb5f62b02f812da85e818e80a1dd3c229df41c1.tar.gz | |
python3-pytest-mock: Upgrade to 3.14.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.bb | 33 |
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 @@ | |||
| 1 | SUMMARY = "Thin-wrapper around the mock package for easier use with pytest" | ||
| 2 | HOMEPAGE = "https://github.com/pytest-dev/pytest-mock/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = " \ | ||
| 5 | file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ | ||
| 6 | " | ||
| 7 | |||
| 8 | SRC_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 | " | ||
| 13 | SRCREV = "8733134b6194395e9cd3c745adcc9a9c09b0279e" | ||
| 14 | |||
| 15 | inherit python_setuptools_build_meta ptest | ||
| 16 | |||
| 17 | DEPENDS += "python3-setuptools-scm-native" | ||
| 18 | |||
| 19 | RDEPENDS:${PN} += " \ | ||
| 20 | python3-asyncio \ | ||
| 21 | python3-mock \ | ||
| 22 | python3-pytest \ | ||
| 23 | python3-pytest-asyncio \ | ||
| 24 | python3-unittest \ | ||
| 25 | python3-unittest-automake-output \ | ||
| 26 | " | ||
| 27 | |||
| 28 | S = "${WORKDIR}/git" | ||
| 29 | |||
| 30 | do_install_ptest() { | ||
| 31 | install -d ${D}${PTEST_PATH}/tests | ||
| 32 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
| 33 | } | ||
