From e65b11a6e4ccad8703c2079f28f33301a3b68665 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 24 Jun 2020 18:16:27 +0300 Subject: python3-license-expression: Upgrade 1.0 -> 1.2 Upgrade to release 1.2: - Add ability to render WITH expression wrapped in parenthesis - Fix anomalous backslashes in strings - Update the thirdparty directory structure Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-license-expression_1.2.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-license-expression_1.2.bb (limited to 'meta-python/recipes-devtools/python/python3-license-expression_1.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb b/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb new file mode 100644 index 0000000000..c033bd3527 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb @@ -0,0 +1,29 @@ +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=e23fadd6ceef8c618fc1c65191d846fa" + +SRC_URI[md5sum] = "fd4cb295cc345be1071274cdbd81c969" +SRC_URI[sha256sum] = "7960e1dfdf20d127e75ead931476f2b5c7556df05b117a73880b22ade17d1abc" + +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-booleanpy \ + " + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf