diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-license-expression_30.1.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-license-expression_30.1.1.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-license-expression_30.1.1.bb b/meta-python/recipes-devtools/python/python3-license-expression_30.1.1.bb new file mode 100644 index 0000000000..31fb88d6e5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-license-expression_30.1.1.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions" | ||
2 | HOMEPAGE = "https://github.com/nexB/license-expression" | ||
3 | |||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
6 | |||
7 | SRC_URI[sha256sum] = "42375df653ad85e6f5b4b0385138b2dbea1f5d66360783d8625c3e4f97f11f0c" | ||
8 | |||
9 | inherit pypi ptest python_setuptools_build_meta | ||
10 | |||
11 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | ||
12 | |||
13 | RDEPENDS:${PN} += "\ | ||
14 | ${PYTHON_PN}-booleanpy \ | ||
15 | ${PYTHON_PN}-core \ | ||
16 | ${PYTHON_PN}-json \ | ||
17 | ${PYTHON_PN}-stringold \ | ||
18 | ${PYTHON_PN}-logging \ | ||
19 | " | ||
20 | |||
21 | BBCLASSEXTEND = "native nativesdk" | ||
22 | |||
23 | SRC_URI += " \ | ||
24 | file://run-ptest \ | ||
25 | " | ||
26 | |||
27 | RDEPENDS:${PN}-ptest += " \ | ||
28 | ${PYTHON_PN}-pytest \ | ||
29 | " | ||
30 | |||
31 | do_install_ptest() { | ||
32 | install -d ${D}${PTEST_PATH}/tests | ||
33 | install -d ${D}${PTEST_PATH}/src | ||
34 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
35 | cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ | ||
36 | } | ||