summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-license-expression.inc
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-04-21 09:58:52 +0800
committerKhem Raj <raj.khem@gmail.com>2020-04-20 21:45:13 -0700
commit681c4b379080e61b1f037a695c3a4ce8100e2b8b (patch)
tree82af5b64d2b4aeae92a8246e8ca52aa30aeb18da /meta-python/recipes-devtools/python/python-license-expression.inc
parente6fed1c1ed33d54a50a43a1c9ed9abd7b7c61cce (diff)
downloadmeta-openembedded-681c4b379080e61b1f037a695c3a4ce8100e2b8b.tar.gz
python3-license-expression: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-license-expression.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-license-expression.inc15
1 files changed, 14 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-license-expression.inc b/meta-python/recipes-devtools/python/python-license-expression.inc
index 4c35e8dd70..add25810d7 100644
--- a/meta-python/recipes-devtools/python/python-license-expression.inc
+++ b/meta-python/recipes-devtools/python/python-license-expression.inc
@@ -7,10 +7,23 @@ LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846
7SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01" 7SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01"
8SRC_URI[sha256sum] = "8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d" 8SRC_URI[sha256sum] = "8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d"
9 9
10inherit pypi 10inherit pypi ptest
11 11
12RDEPENDS_${PN} += "\ 12RDEPENDS_${PN} += "\
13 ${PYTHON_PN}-booleanpy \ 13 ${PYTHON_PN}-booleanpy \
14 " 14 "
15 15
16BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
17
18SRC_URI += " \
19 file://run-ptest \
20"
21
22RDEPENDS_${PN}-ptest += " \
23 ${PYTHON_PN}-pytest \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}