From 03d0884f749b554c1789001ddcaac0f1d9559c48 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 24 Jul 2025 12:21:12 -0700 Subject: 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 --- .../python/python3-pytest-mock_3.14.0.bb | 32 --------------------- .../python/python3-pytest-mock_3.14.1.bb | 33 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 32 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pytest-mock_3.14.1.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 deleted file mode 100644 index b968cf1cd4..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb +++ /dev/null @@ -1,32 +0,0 @@ -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 += " \ - file://run-ptest \ -" -SRC_URI[sha256sum] = "2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0" - -inherit pypi python_setuptools_build_meta ptest - -PYPI_PACKAGE = "pytest-mock" - -DEPENDS += "python3-setuptools-scm-native" - -RDEPENDS:${PN}-ptest += " \ - python3-misc \ - python3-mock \ - python3-pytest \ - python3-pytest-asyncio \ - python3-threading \ - python3-tox \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests ${D}${PTEST_PATH}/ -} 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 @@ +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 += " \ + file://run-ptest \ +" +SRC_URI[sha256sum] = "159e9edac4c451ce77a5cdb9fc5d1100708d2dd4ba3c3df572f14097351af80e" + +inherit pypi python_setuptools_build_meta ptest + +PYPI_PACKAGE = "pytest_mock" + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN}-ptest += " \ + python3-asyncio \ + python3-misc \ + python3-mock \ + python3-pytest \ + python3-pytest-asyncio \ + python3-threading \ + python3-tox \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf