diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-license-expression_30.3.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-license-expression_30.3.1.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.3.1.bb b/meta/recipes-devtools/python/python3-license-expression_30.3.1.bb new file mode 100644 index 0000000000..edf7ead2e4 --- /dev/null +++ b/meta/recipes-devtools/python/python3-license-expression_30.3.1.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 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] = "60d5bec1f3364c256a92b9a08583d7ea933c7aa272c8d36d04144a89a3858c01" | ||
| 8 | |||
| 9 | inherit pypi ptest python_setuptools_build_meta | ||
| 10 | PYPI_PACKAGE = "license_expression" | ||
| 11 | |||
| 12 | DEPENDS += "python3-setuptools-scm-native" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += "\ | ||
| 15 | python3-booleanpy \ | ||
| 16 | python3-core \ | ||
| 17 | python3-json \ | ||
| 18 | python3-stringold \ | ||
| 19 | python3-logging \ | ||
| 20 | " | ||
| 21 | |||
| 22 | BBCLASSEXTEND = "native nativesdk" | ||
| 23 | |||
| 24 | SRC_URI += " \ | ||
| 25 | file://run-ptest \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS:${PN}-ptest += " \ | ||
| 29 | python3-pytest \ | ||
| 30 | python3-unittest-automake-output \ | ||
| 31 | " | ||
| 32 | |||
| 33 | do_install_ptest() { | ||
| 34 | install -d ${D}${PTEST_PATH}/tests | ||
| 35 | install -d ${D}${PTEST_PATH}/src | ||
| 36 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 37 | cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ | ||
| 38 | cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ | ||
| 39 | } | ||
