diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2021-08-17 11:00:01 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-19 09:56:43 -0700 |
commit | bd4804580b42c7aee046335e916da1d1aa991f37 (patch) | |
tree | e7294b0e4221a558bfb27be28aa7006d5391f0e7 /meta-python | |
parent | f58bd1789ad840b04fa36212d67cebbe14ed21e5 (diff) | |
download | meta-openembedded-bd4804580b42c7aee046335e916da1d1aa991f37.tar.gz |
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 <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-click_8.0.1.bb | 6 |
1 files 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 += " \ | |||
23 | " | 23 | " |
24 | 24 | ||
25 | do_install_ptest() { | 25 | do_install_ptest() { |
26 | install -d ${D}${PTEST_PATH}/tests | 26 | install -d ${D}${PTEST_PATH}/tests |
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
28 | cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ | ||
29 | cp -rf ${S}/docs ${D}${PTEST_PATH}/ | ||
28 | } | 30 | } |
29 | 31 | ||
30 | UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" | 32 | UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" |