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 | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 6 | SRC_URI[md5sum] = "90fec5504fcebc5d1081bcd654df7cf0" |
| 7 | SRC_URI[sha256sum] = "b78fe2881323bd44fd9bd76e5317173d4316577e7b1cddebae9136a4495ec865" |
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 \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 23 | " |
| 24 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 25 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:" |
| 26 | |
Armin Kuster | 066be20 | 2018-07-08 14:58:53 -0700 | [diff] [blame] | 27 | ALTERNATIVE_${PN} += "py.test pytest" |
| 28 | |
| 29 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" |
| 30 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" |
| 31 | |
| 32 | ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" |
| 33 | ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" |
| 34 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 35 | BBCLASSEXTEND = "native nativesdk" |