summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-license-expression_30.2.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-12-19 17:42:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-23 08:46:00 +0000
commit3466cab0ab9c8662ed92b6f1b1debed6d9a07594 (patch)
tree9a36e5947d7ac2addfac4e93918cd2b69d1143a5 /meta/recipes-devtools/python/python3-license-expression_30.2.0.bb
parent8e5acb3cc8721476cab43bcf7c74de655e8c324f (diff)
downloadpoky-3466cab0ab9c8662ed92b6f1b1debed6d9a07594.tar.gz
python3-license-expression: upgrade 30.1.1 -> 30.2.0
Changelog: ============ -Use latest skeleton -Update license list to latest ScanCode and SPDX 3.22 -Add Python 3.12 support in CI (From OE-Core rev: 2fd616e68dba7ab193e6ea074615b4f6c6ed6b53) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-license-expression_30.2.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.2.0.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.2.0.bb b/meta/recipes-devtools/python/python3-license-expression_30.2.0.bb
new file mode 100644
index 0000000000..76ce58e58f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-license-expression_30.2.0.bb
@@ -0,0 +1,38 @@
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] = "599928edd995c43fc335e0af342076144dc71cb858afa1ed9c1c30c4e81794f5"
8
9inherit pypi ptest python_setuptools_build_meta
10
11DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
12
13RDEPENDS:${PN} += "\
14 ${PYTHON_PN}-booleanpy \
15 ${PYTHON_PN}-core \
16 ${PYTHON_PN}-json \
17 ${PYTHON_PN}-stringold \
18 ${PYTHON_PN}-logging \
19"
20
21BBCLASSEXTEND = "native nativesdk"
22
23SRC_URI += " \
24 file://run-ptest \
25"
26
27RDEPENDS:${PN}-ptest += " \
28 ${PYTHON_PN}-pytest \
29 ${PYTHON_PN}-unittest-automake-output \
30"
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/tests
34 install -d ${D}${PTEST_PATH}/src
35 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
36 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
37 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
38}