From c916e99b50bda52de798e9d0ca98695b2812dd1d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 24 Apr 2023 11:24:34 +0800 Subject: python3-mock: upgrade 5.0.1 -> 5.0.2 Changelog: ========== gh-102978: Fixes :func:'unittest.mock.patch' not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True. gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-mock_5.0.2.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-mock_5.0.2.bb (limited to 'meta-python/recipes-devtools/python/python3-mock_5.0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb b/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb new file mode 100644 index 0000000000..633b6f2776 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "A Python Mocking and Patching Library for Testing" +HOMEPAGE = "https://pypi.python.org/pypi/mock" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing \ + ${PYTHON_PN}-mccabe \ + ${PYTHON_PN}-pep8 \ + ${PYTHON_PN}-pyflakes" + +SRC_URI[sha256sum] = "06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891" -- cgit v1.2.3-54-g00ecf