blob: ca67223db60cbd883da78438be86fb1cb8e08a12 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Simple powerful testing with python"
Andrew Geisslereafcbb82020-06-05 17:59:17 -05002
Andrew Geissler82c905d2020-04-13 13:39:40 -05003LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b"
5
Andrew Geisslerd221e032020-07-10 16:13:21 -05006SRC_URI[sha256sum] = "7979331bfcba207414f5e1263b5a0f8f521d0f457318836a7355531ed1a4c7d8"
Andrew Geissler82c905d2020-04-13 13:39:40 -05007
8SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch "
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}-json \
17 ${PYTHON_PN}-pluggy \
18 ${PYTHON_PN}-py \
19 ${PYTHON_PN}-setuptools \
20 ${PYTHON_PN}-six \
21 ${PYTHON_PN}-atomicwrites \
22 ${PYTHON_PN}-importlib-metadata \
23 ${PYTHON_PN}-pathlib2 \
24 ${PYTHON_PN}-wcwidth \
25 ${PYTHON_PN}-more-itertools \
26 ${PYTHON_PN}-packaging \
27"
28
29ALTERNATIVE_${PN} += "py.test pytest"
30
31NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
32ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
33
34ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
35ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
36
37BBCLASSEXTEND = "native nativesdk"