blob: 4c32dfb0444fc00c7d89bb5c18aa6006200d28b1 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "Simple powerful teting with python"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002HOMEPAGE = "http://pytest.org"
Patrick Williamsddad1a12017-02-23 20:36:32 -06003LICENSE = "MIT"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05004LIC_FILES_CHKSUM = "file://LICENSE;md5=c39b24965f4aef64222cb35de9d47cc4"
Patrick Williamsddad1a12017-02-23 20:36:32 -06005
Brad Bishop316dfdd2018-06-25 12:45:53 -04006SRC_URI[md5sum] = "1b83a25d45fad893f430fc5031653c56"
7SRC_URI[sha256sum] = "117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008
9SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \
10 file://pytest_version_fix.patch "
Patrick Williamsddad1a12017-02-23 20:36:32 -060011
Armin Kuster066be202018-07-08 14:58:53 -070012inherit update-alternatives
13
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014RDEPENDS_${PN}_class-target += " \
Brad Bishop316dfdd2018-06-25 12:45:53 -040015 ${PYTHON_PN}-attrs \
Patrick Williamsddad1a12017-02-23 20:36:32 -060016 ${PYTHON_PN}-debugger \
Brad Bishop316dfdd2018-06-25 12:45:53 -040017 ${PYTHON_PN}-doctest \
Patrick Williamsddad1a12017-02-23 20:36:32 -060018 ${PYTHON_PN}-json \
Brad Bishop316dfdd2018-06-25 12:45:53 -040019 ${PYTHON_PN}-pluggy \
Patrick Williamsddad1a12017-02-23 20:36:32 -060020 ${PYTHON_PN}-py \
21 ${PYTHON_PN}-setuptools \
Brad Bishop316dfdd2018-06-25 12:45:53 -040022 ${PYTHON_PN}-six \
Patrick Williamsddad1a12017-02-23 20:36:32 -060023"
24
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:"
26
Armin Kuster066be202018-07-08 14:58:53 -070027ALTERNATIVE_${PN} += "py.test pytest"
28
29NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
30ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
31
32ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
33ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
34
Patrick Williamsddad1a12017-02-23 20:36:32 -060035BBCLASSEXTEND = "native nativesdk"