diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-license-expression_30.4.4.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-license-expression_30.4.4.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb new file mode 100644 index 0000000000..690149123a --- /dev/null +++ b/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 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] = "73448f0aacd8d0808895bdc4b2c8e01a8d67646e4188f887375398c761f340fd" | ||
| 8 | |||
| 9 | inherit pypi ptest-python-pytest python_setuptools_build_meta | ||
| 10 | PYPI_PACKAGE = "license_expression" | ||
| 11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 12 | |||
| 13 | DEPENDS += "python3-setuptools-scm-native" | ||
| 14 | |||
| 15 | RDEPENDS:${PN} += "\ | ||
| 16 | python3-booleanpy \ | ||
| 17 | python3-core \ | ||
| 18 | python3-json \ | ||
| 19 | python3-stringold \ | ||
| 20 | python3-logging \ | ||
| 21 | " | ||
| 22 | |||
| 23 | BBCLASSEXTEND = "native nativesdk" | ||
| 24 | |||
| 25 | do_install_ptest:append() { | ||
| 26 | # The tests need some files from the source tree | ||
| 27 | install -d ${D}${PTEST_PATH}/src | ||
| 28 | ln -s ${PYTHON_SITEPACKAGES_DIR}/license_expression/ ${D}${PTEST_PATH}/src/ | ||
| 29 | install -m644 ${S}/setup.cfg ${D}${PTEST_PATH}/ | ||
| 30 | } | ||
