diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb b/meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb new file mode 100644 index 0000000000..eeb91723e3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-license-expression_30.0.0.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] = "ad638292aa8493f84354909b517922cb823582c2ce2c4d880e42544a86bea8dd" | ||
| 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 | } | ||
