Skip to contentSkip to conversation

python3-click: Add missing ptest artifacts

PATCH New Trevor Gamblin 1 participant 1 message Aug 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-python/recipes-devtools/python/python3-click_8.0.1.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-click_8.0.1.bb +4 -2
index be13570b5..c8b9a429e 100644
@@ -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<pver>\d+(\.\d+)+)/"
Signature · 1 line
2.31.1