From 3466cab0ab9c8662ed92b6f1b1debed6d9a07594 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 19 Dec 2023 17:42:41 +0800 Subject: 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-license-expression_30.2.0.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-license-expression_30.2.0.bb (limited to 'meta/recipes-devtools/python/python3-license-expression_30.2.0.bb') 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 @@ +SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions" +HOMEPAGE = "https://github.com/nexB/license-expression" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "599928edd995c43fc335e0af342076144dc71cb858afa1ed9c1c30c4e81794f5" + +inherit pypi ptest python_setuptools_build_meta + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-booleanpy \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-logging \ +" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + install -d ${D}${PTEST_PATH}/src + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ + cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf