summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-mock_3.14.0.bb
diff options
context:
space:
mode:
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.bb19
1 files changed, 9 insertions, 10 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
index fe2479c836..b968cf1cd4 100644
--- 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
@@ -5,28 +5,27 @@ LIC_FILES_CHKSUM = " \
5 file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \ 5 file://LICENSE;md5=b2ddb1e69238461b7e4ef2a84d874109 \
6" 6"
7 7
8SRC_URI = " \ 8SRC_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 \ 9 file://run-ptest \
12" 10"
13SRCREV = "8733134b6194395e9cd3c745adcc9a9c09b0279e" 11SRC_URI[sha256sum] = "2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0"
14 12
15inherit python_setuptools_build_meta ptest 13inherit pypi python_setuptools_build_meta ptest
14
15PYPI_PACKAGE = "pytest-mock"
16 16
17DEPENDS += "python3-setuptools-scm-native" 17DEPENDS += "python3-setuptools-scm-native"
18 18
19RDEPENDS:${PN} += " \ 19RDEPENDS:${PN}-ptest += " \
20 python3-asyncio \ 20 python3-misc \
21 python3-mock \ 21 python3-mock \
22 python3-pytest \ 22 python3-pytest \
23 python3-pytest-asyncio \ 23 python3-pytest-asyncio \
24 python3-unittest \ 24 python3-threading \
25 python3-tox \
25 python3-unittest-automake-output \ 26 python3-unittest-automake-output \
26" 27"
27 28
28S = "${WORKDIR}/git"
29
30do_install_ptest() { 29do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/tests 30 install -d ${D}${PTEST_PATH}/tests
32 cp -rf ${S}/tests ${D}${PTEST_PATH}/ 31 cp -rf ${S}/tests ${D}${PTEST_PATH}/