diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-license-expression_1.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-license-expression_1.2.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb b/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb new file mode 100644 index 0000000000..c033bd3527 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 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=e23fadd6ceef8c618fc1c65191d846fa" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "fd4cb295cc345be1071274cdbd81c969" | ||
| 8 | SRC_URI[sha256sum] = "7960e1dfdf20d127e75ead931476f2b5c7556df05b117a73880b22ade17d1abc" | ||
| 9 | |||
| 10 | inherit pypi ptest setuptools3 | ||
| 11 | |||
| 12 | RDEPENDS_${PN} += "\ | ||
| 13 | ${PYTHON_PN}-booleanpy \ | ||
| 14 | " | ||
| 15 | |||
| 16 | BBCLASSEXTEND = "native nativesdk" | ||
| 17 | |||
| 18 | SRC_URI += " \ | ||
| 19 | file://run-ptest \ | ||
| 20 | " | ||
| 21 | |||
| 22 | RDEPENDS_${PN}-ptest += " \ | ||
| 23 | ${PYTHON_PN}-pytest \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | install -d ${D}${PTEST_PATH}/tests | ||
| 28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 29 | } | ||
