diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-24 12:21:12 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-25 17:09:24 -0700 |
| commit | 03d0884f749b554c1789001ddcaac0f1d9559c48 (patch) | |
| tree | c974a478fc7e42b01869ed6402f8ac27b6f5f94b /meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb | |
| parent | 54ab96e225eb2332c03a9e4a644c642297afa310 (diff) | |
| download | meta-openembedded-03d0884f749b554c1789001ddcaac0f1d9559c48.tar.gz | |
python3-pytest-mock: Upgrade to 3.14.1
Rename PYPI_PACKAGE to reflect upstream tarball name change
Add missing dependency on python3-asyncio
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.bb new file mode 100644 index 0000000000..775b77ccc2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.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 | file://run-ptest \ | ||
| 10 | " | ||
| 11 | SRC_URI[sha256sum] = "159e9edac4c451ce77a5cdb9fc5d1100708d2dd4ba3c3df572f14097351af80e" | ||
| 12 | |||
| 13 | inherit pypi python_setuptools_build_meta ptest | ||
| 14 | |||
| 15 | PYPI_PACKAGE = "pytest_mock" | ||
| 16 | |||
| 17 | DEPENDS += "python3-setuptools-scm-native" | ||
| 18 | |||
| 19 | RDEPENDS:${PN}-ptest += " \ | ||
| 20 | python3-asyncio \ | ||
| 21 | python3-misc \ | ||
| 22 | python3-mock \ | ||
| 23 | python3-pytest \ | ||
| 24 | python3-pytest-asyncio \ | ||
| 25 | python3-threading \ | ||
| 26 | python3-tox \ | ||
| 27 | python3-unittest-automake-output \ | ||
| 28 | " | ||
| 29 | |||
| 30 | do_install_ptest() { | ||
| 31 | install -d ${D}${PTEST_PATH}/tests | ||
| 32 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
| 33 | } | ||
