Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | SUMMARY = "Simple powerful teting with python" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | HOMEPAGE = "http://pytest.org" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 3 | LICENSE = "MIT" |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=640061b8cee64b308a4d2f9f556c12f2" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 5 | |
Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame^] | 6 | SRC_URI[md5sum] = "00561d0295aab167987f8a4f784964c4" |
| 7 | SRC_URI[sha256sum] = "ca563435f4941d0cb34767301c27bc65c510cb82e90b9ecf9cb52dc2c63caaa0" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 8 | |
| 9 | SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \ |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 10 | " |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 11 | |
Armin Kuster | 066be20 | 2018-07-08 14:58:53 -0700 | [diff] [blame] | 12 | inherit update-alternatives |
| 13 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 14 | RDEPENDS_${PN}_class-target += " \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 15 | ${PYTHON_PN}-attrs \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 16 | ${PYTHON_PN}-debugger \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | ${PYTHON_PN}-doctest \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 18 | ${PYTHON_PN}-json \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | ${PYTHON_PN}-pluggy \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 20 | ${PYTHON_PN}-py \ |
| 21 | ${PYTHON_PN}-setuptools \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 22 | ${PYTHON_PN}-six \ |
Brad Bishop | a891d15 | 2019-09-13 06:17:45 -0400 | [diff] [blame] | 23 | ${PYTHON_PN}-atomicwrites \ |
Brad Bishop | dec060e | 2019-09-23 08:01:31 -0400 | [diff] [blame] | 24 | ${PYTHON_PN}-importlib-metadata \ |
| 25 | ${PYTHON_PN}-pathlib2 \ |
| 26 | ${PYTHON_PN}-wcwidth \ |
| 27 | ${PYTHON_PN}-more-itertools \ |
| 28 | ${PYTHON_PN}-packaging \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 29 | " |
| 30 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 31 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:" |
| 32 | |
Armin Kuster | 066be20 | 2018-07-08 14:58:53 -0700 | [diff] [blame] | 33 | ALTERNATIVE_${PN} += "py.test pytest" |
| 34 | |
| 35 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" |
| 36 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" |
| 37 | |
| 38 | ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" |
| 39 | ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" |
| 40 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 41 | BBCLASSEXTEND = "native nativesdk" |