summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-license-expression_30.4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3-license-expression_30.4.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.4.0.bb13
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.0.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.0.bb
index fc92026c79..3af739bed4 100644
--- a/meta/recipes-devtools/python/python3-license-expression_30.4.0.bb
+++ b/meta/recipes-devtools/python/python3-license-expression_30.4.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f43
6 6
7SRC_URI[sha256sum] = "6464397f8ed4353cc778999caec43b099f8d8d5b335f282e26a9eb9435522f05" 7SRC_URI[sha256sum] = "6464397f8ed4353cc778999caec43b099f8d8d5b335f282e26a9eb9435522f05"
8 8
9inherit pypi ptest python_setuptools_build_meta 9inherit pypi ptest-python-pytest python_setuptools_build_meta
10PYPI_PACKAGE = "license_expression" 10PYPI_PACKAGE = "license_expression"
11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
12 12
@@ -22,19 +22,8 @@ RDEPENDS:${PN} += "\
22 22
23BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
24 24
25SRC_URI += " \
26 file://run-ptest \
27"
28
29RDEPENDS:${PN}-ptest += " \
30 python3-pytest \
31 python3-unittest-automake-output \
32"
33
34do_install_ptest() { 25do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 install -d ${D}${PTEST_PATH}/src 26 install -d ${D}${PTEST_PATH}/src
37 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
38 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ 27 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
39 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ 28 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
40} 29}