From bd4804580b42c7aee046335e916da1d1aa991f37 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 17 Aug 2021 11:00:01 -0400 Subject: python3-click: Add missing ptest artifacts The click ptests require the top-level setup.cfg and the docs/conf.py file to be present in the PTEST_PATH, so add steps to copy them to the image when building the ptest. Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-click_8.0.1.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-click_8.0.1.bb b/meta-python/recipes-devtools/python/python3-click_8.0.1.bb index be13570b59..c8b9a429ed 100644 --- a/meta-python/recipes-devtools/python/python3-click_8.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-click_8.0.1.bb @@ -23,8 +23,10 @@ RDEPENDS:${PN}-ptest += " \ " do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ + cp -rf ${S}/docs ${D}${PTEST_PATH}/ } UPSTREAM_CHECK_REGEX = "click/(?P\d+(\.\d+)+)/" -- cgit 1.2.3-korg