summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pytest_7.4.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-06-27 15:17:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-28 07:56:33 +0100
commit1f623de9cc2061341464511bded0c137dd477e30 (patch)
treebdd186a354746a113e78edb38e166612696d62ea /meta/recipes-devtools/python/python3-pytest_7.4.0.bb
parent2474204d63c6aec934f6d78191f24120d84d5835 (diff)
downloadpoky-1f623de9cc2061341464511bded0c137dd477e30.tar.gz
python3-pytest: upgrade 7.3.1 -> 7.4.0
Changelog: https://docs.pytest.org/en/stable/changelog.html (From OE-Core rev: 272f6ac29246c67c8ed1ed685ab2c0631fc5fbe3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pytest_7.4.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pytest_7.4.0.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pytest_7.4.0.bb b/meta/recipes-devtools/python/python3-pytest_7.4.0.bb
new file mode 100644
index 0000000000..323dfebe38
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest_7.4.0.bb
@@ -0,0 +1,41 @@
1SUMMARY = "Simple powerful testing with python"
2HOMEPAGE = "https://pypi.org/project/pytest/"
3DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries."
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
7
8SRC_URI[sha256sum] = "b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a"
9
10DEPENDS += "python3-setuptools-scm-native"
11
12inherit update-alternatives pypi python_setuptools_build_meta
13
14RDEPENDS:${PN} += " \
15 ${PYTHON_PN}-atomicwrites \
16 ${PYTHON_PN}-attrs \
17 ${PYTHON_PN}-debugger \
18 ${PYTHON_PN}-doctest \
19 ${PYTHON_PN}-importlib-metadata \
20 ${PYTHON_PN}-iniconfig \
21 ${PYTHON_PN}-json \
22 ${PYTHON_PN}-more-itertools \
23 ${PYTHON_PN}-packaging \
24 ${PYTHON_PN}-pathlib2 \
25 ${PYTHON_PN}-pluggy \
26 ${PYTHON_PN}-py \
27 ${PYTHON_PN}-setuptools \
28 ${PYTHON_PN}-six \
29 ${PYTHON_PN}-tomllib \
30 ${PYTHON_PN}-wcwidth \
31"
32
33ALTERNATIVE:${PN} += "py.test pytest"
34
35NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
36ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
37
38ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
39ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
40
41BBCLASSEXTEND = "native nativesdk"