blob: 5f3e60eef8552820ef6de0ee1e8232f2b0bfe2d1 [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 Bishop0f291cc2019-09-01 15:16:57 -04004LIC_FILES_CHKSUM = "file://LICENSE;md5=640061b8cee64b308a4d2f9f556c12f2"
Patrick Williamsddad1a12017-02-23 20:36:32 -06005
Brad Bishopc1d34332019-09-09 14:56:00 -04006SRC_URI[md5sum] = "90fec5504fcebc5d1081bcd654df7cf0"
7SRC_URI[sha256sum] = "b78fe2881323bd44fd9bd76e5317173d4316577e7b1cddebae9136a4495ec865"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008
9SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \
Brad Bishop0f291cc2019-09-01 15:16:57 -040010 "
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 \
Brad Bishopa891d152019-09-13 06:17:45 -040023 ${PYTHON_PN}-atomicwrites \
Brad Bishopdec060e2019-09-23 08:01:31 -040024 ${PYTHON_PN}-importlib-metadata \
25 ${PYTHON_PN}-pathlib2 \
26 ${PYTHON_PN}-wcwidth \
27 ${PYTHON_PN}-more-itertools \
28 ${PYTHON_PN}-packaging \
Patrick Williamsddad1a12017-02-23 20:36:32 -060029"
30
Brad Bishopd7bf8c12018-02-25 22:55:05 -050031FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:"
32
Armin Kuster066be202018-07-08 14:58:53 -070033ALTERNATIVE_${PN} += "py.test pytest"
34
35NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
36ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
37
38ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
39ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
40
Patrick Williamsddad1a12017-02-23 20:36:32 -060041BBCLASSEXTEND = "native nativesdk"