Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Simple powerful testing with python" |
Andrew Geissler | eafcbb8 | 2020-06-05 17:59:17 -0500 | [diff] [blame] | 2 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" |
| 5 | |
Andrew Geissler | d221e03 | 2020-07-10 16:13:21 -0500 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "7979331bfcba207414f5e1263b5a0f8f521d0f457318836a7355531ed1a4c7d8" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | |
| 8 | SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " |
| 9 | |
| 10 | inherit update-alternatives pypi setuptools3 |
| 11 | |
| 12 | RDEPENDS_${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 | |
| 29 | ALTERNATIVE_${PN} += "py.test pytest" |
| 30 | |
| 31 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" |
| 32 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" |
| 33 | |
| 34 | ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" |
| 35 | ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" |
| 36 | |
| 37 | BBCLASSEXTEND = "native nativesdk" |