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