summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3-license-expression_30.4.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.4.1.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
new file mode 100644
index 0000000000..ec613f6eaa
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
@@ -0,0 +1,30 @@
1SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
2HOMEPAGE = "https://github.com/nexB/license-expression"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
6
7SRC_URI[sha256sum] = "9f02105f9e0fcecba6a85dfbbed7d94ea1c3a70cf23ddbfb5adf3438a6f6fce0"
8
9inherit pypi ptest-python-pytest python_setuptools_build_meta
10PYPI_PACKAGE = "license_expression"
11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
12
13DEPENDS += "python3-setuptools-scm-native"
14
15RDEPENDS:${PN} += "\
16 python3-booleanpy \
17 python3-core \
18 python3-json \
19 python3-stringold \
20 python3-logging \
21"
22
23BBCLASSEXTEND = "native nativesdk"
24
25do_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}