diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-12-19 17:42:41 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-23 08:46:00 +0000 |
| commit | 3466cab0ab9c8662ed92b6f1b1debed6d9a07594 (patch) | |
| tree | 9a36e5947d7ac2addfac4e93918cd2b69d1143a5 /meta/recipes-devtools/python/python3-license-expression_30.2.0.bb | |
| parent | 8e5acb3cc8721476cab43bcf7c74de655e8c324f (diff) | |
| download | poky-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.bb | 38 |
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 @@ | |||
| 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] = "599928edd995c43fc335e0af342076144dc71cb858afa1ed9c1c30c4e81794f5" | ||
| 8 | |||
| 9 | inherit pypi ptest python_setuptools_build_meta | ||
| 10 | |||
| 11 | DEPENDS += "${PYTHON_PN}-setuptools-scm-native" | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "\ | ||
| 14 | ${PYTHON_PN}-booleanpy \ | ||
| 15 | ${PYTHON_PN}-core \ | ||
| 16 | ${PYTHON_PN}-json \ | ||
| 17 | ${PYTHON_PN}-stringold \ | ||
| 18 | ${PYTHON_PN}-logging \ | ||
| 19 | " | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
| 22 | |||
| 23 | SRC_URI += " \ | ||
| 24 | file://run-ptest \ | ||
| 25 | " | ||
| 26 | |||
| 27 | RDEPENDS:${PN}-ptest += " \ | ||
| 28 | ${PYTHON_PN}-pytest \ | ||
| 29 | ${PYTHON_PN}-unittest-automake-output \ | ||
| 30 | " | ||
| 31 | |||
| 32 | do_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 | } | ||
