summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.4.1.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
index 649b53ea49..ec613f6eaa 100644
--- a/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
+++ b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
@@ -22,8 +22,9 @@ RDEPENDS:${PN} += "\
22 22
23BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
24 24
25do_install_ptest() { 25do_install_ptest:append() {
26 # The tests need some files from the source tree
26 install -d ${D}${PTEST_PATH}/src 27 install -d ${D}${PTEST_PATH}/src
27 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ 28 ln -s ${PYTHON_SITEPACKAGES_DIR}/license_expression/ ${D}${PTEST_PATH}/src/
28 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ 29 install -m644 ${S}/setup.cfg ${D}${PTEST_PATH}/
29} 30}