From ac2b231d20c16123a2e46496790d5287f61e1f42 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 27 Sep 2022 16:02:50 +0300 Subject: python3-license-expression: Upgrade 21.6.14 -> 30.0.0 Upgrade to release 30.0.0: - Use latest skeleton (and updated configure script) - Drop using calver - Improve error checking when combining licenses License-Update: Fix merge error in LICENSE Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-license-expression_30.0.0.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb b/meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb new file mode 100644 index 0000000000..eeb91723e3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-license-expression_30.0.0.bb @@ -0,0 +1,36 @@ +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] = "ad638292aa8493f84354909b517922cb823582c2ce2c4d880e42544a86bea8dd" + +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 \ +" + +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/ +} -- cgit v1.2.3-54-g00ecf