Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | SUMMARY = "Simple powerful testing with python" |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://pypi.org/project/pytest/" |
| 3 | DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries." |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 4 | |
| 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" |
| 7 | |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 8 | SRC_URI += "file://0001-Allow-pluggy-1.0.patch" |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 9 | SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 10 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | DEPENDS = "python3-setuptools-scm-native" |
| 12 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 13 | inherit update-alternatives pypi setuptools3 |
| 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | RDEPENDS:${PN}:class-target += " \ |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 16 | ${PYTHON_PN}-atomicwrites \ |
| 17 | ${PYTHON_PN}-attrs \ |
| 18 | ${PYTHON_PN}-debugger \ |
| 19 | ${PYTHON_PN}-doctest \ |
| 20 | ${PYTHON_PN}-importlib-metadata \ |
| 21 | ${PYTHON_PN}-iniconfig \ |
| 22 | ${PYTHON_PN}-json \ |
| 23 | ${PYTHON_PN}-more-itertools \ |
| 24 | ${PYTHON_PN}-packaging \ |
| 25 | ${PYTHON_PN}-pathlib2 \ |
| 26 | ${PYTHON_PN}-pluggy \ |
| 27 | ${PYTHON_PN}-py \ |
| 28 | ${PYTHON_PN}-setuptools \ |
| 29 | ${PYTHON_PN}-six \ |
| 30 | ${PYTHON_PN}-toml \ |
| 31 | ${PYTHON_PN}-wcwidth \ |
| 32 | " |
| 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | ALTERNATIVE:${PN} += "py.test pytest" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 35 | |
| 36 | NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" |
| 37 | ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest" |
| 38 | |
| 39 | ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test" |
| 40 | ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test" |
| 41 | |
| 42 | BBCLASSEXTEND = "native nativesdk" |