blob: 2e90acaf3663e94659a7b5c55909cdd0d0ccb101 [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001SUMMARY = "Simple powerful testing with python"
Andrew Geissler95ac1b82021-03-31 14:34:31 -05002HOMEPAGE = "https://pypi.org/project/pytest/"
3DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries."
Andrew Geissler6ce62a22020-11-30 19:58:47 -06004
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b"
7
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05008SRC_URI += "file://0001-Allow-pluggy-1.0.patch"
William A. Kennington IIIac69b482021-06-02 12:28:27 -07009SRC_URI[sha256sum] = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060010
Patrick Williams213cb262021-08-07 19:21:33 -050011DEPENDS = "python3-setuptools-scm-native"
12
Andrew Geissler6ce62a22020-11-30 19:58:47 -060013inherit update-alternatives pypi setuptools3
14
Patrick Williams213cb262021-08-07 19:21:33 -050015RDEPENDS:${PN}:class-target += " \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060016 ${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 Williams213cb262021-08-07 19:21:33 -050034ALTERNATIVE:${PN} += "py.test pytest"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060035
36NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
37ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
38
39ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
40ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
41
42BBCLASSEXTEND = "native nativesdk"