xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Plugin and hook calling mechanisms for python"
2HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5
6SRC_URI[sha256sum] = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"
7
8DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
9RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \
10                   ${PYTHON_PN}-more-itertools \
11"
12
13inherit pypi ptest python_setuptools_build_meta
14
15SRC_URI += " \
16	file://run-ptest \
17"
18
19RDEPENDS:${PN}-ptest += " \
20	${PYTHON_PN}-pytest \
21"
22
23do_install_ptest() {
24	install -d ${D}${PTEST_PATH}/testing
25	cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
26}
27