summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-11-27 20:24:27 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-30 14:42:22 +0000
commit075deea2b2a57120267d306914a018b3d5debbc8 (patch)
tree0075ac3a2c5a1d846011cfc44c0b6b298a5d8a19 /meta/recipes-devtools/python/python3-pytest_6.1.2.bb
parent225fbb0c41e5773cb3bf8b99198994b12d5b2090 (diff)
downloadpoky-075deea2b2a57120267d306914a018b3d5debbc8.tar.gz
python3-pytest: move from meta-python
Simple powerful testing with python (From OE-Core rev: 3299ddeab5eb32a21efaee63c2b7f490089b8476) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pytest_6.1.2.bb')
-rw-r--r--meta/recipes-devtools/python/python3-pytest_6.1.2.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pytest_6.1.2.bb b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
new file mode 100644
index 0000000000..6872da5cfa
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest_6.1.2.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Simple powerful testing with python"
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b"
5
6SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch "
7
8SRC_URI[sha256sum] = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e"
9
10inherit update-alternatives pypi setuptools3
11
12RDEPENDS_${PN}_class-target += " \
13 ${PYTHON_PN}-attrs \
14 ${PYTHON_PN}-debugger \
15 ${PYTHON_PN}-doctest \
16 ${PYTHON_PN}-iniconfig \
17 ${PYTHON_PN}-json \
18 ${PYTHON_PN}-pluggy \
19 ${PYTHON_PN}-py \
20 ${PYTHON_PN}-setuptools \
21 ${PYTHON_PN}-six \
22 ${PYTHON_PN}-atomicwrites \
23 ${PYTHON_PN}-importlib-metadata \
24 ${PYTHON_PN}-pathlib2 \
25 ${PYTHON_PN}-wcwidth \
26 ${PYTHON_PN}-more-itertools \
27 ${PYTHON_PN}-packaging \
28"
29
30ALTERNATIVE_${PN} += "py.test pytest"
31
32NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
33ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
34
35ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
36ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
37
38BBCLASSEXTEND = "native nativesdk"