blob: 99ae6336b7645d21abd1781c24449a34ad816beb [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001SUMMARY = "Plugin and hook calling mechanisms for python"
2HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05006SRC_URI[sha256sum] = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"
Andrew Geissler6ce62a22020-11-30 19:58:47 -06007
8DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
Patrick Williams213cb262021-08-07 19:21:33 -05009RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060010 ${PYTHON_PN}-more-itertools \
11"
12
Andrew Geissler9aee5002022-03-30 16:27:02 +000013inherit pypi ptest python_setuptools_build_meta
Andrew Geissler6ce62a22020-11-30 19:58:47 -060014
15SRC_URI += " \
16 file://run-ptest \
17"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019RDEPENDS:${PN}-ptest += " \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060020 ${PYTHON_PN}-pytest \
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050021 ${PYTHON_PN}-unittest-automake-output \
Andrew Geissler6ce62a22020-11-30 19:58:47 -060022"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/testing
26 cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
27}
Andrew Geissler78b72792022-06-14 06:47:25 -050028
29BBCLASSEXTEND = "native nativesdk"