From bddc712a127dfbafece7c85b73543b78506969fd Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 16 Jun 2021 12:34:06 +0300 Subject: [PATCH] python3-license-expression: Upgrade 1.2 -> 21.6.14 Upgrade to release 21.6.14: - Switch to calver for package versioning to better convey the currency of the bundled data. - Include https://scancode-licensedb.aboutcode.org/ licenses list with ScanCode (v21.6.7) and SPDX licenses (v3.13) keys. Add new functions to create Licensing using these licenses as LicenseSymbol. - Add new License.dedup() method to deduplicate and simplify license expressions without over simplifying. - Add new License.validate() method to return a new ExpressionInfo object with details on a license expression validation. - Drop support for Python 2. - Adopt the project skeleton from https://github.com/nexB/skeleton and its new configure script License-Update: Adopt latest skeleton, license remains the same. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ..._1.2.bb => python3-license-expression_21.6.14.bb} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename meta-python/recipes-devtools/python/{python3-license-expression_1.2.bb => python3-license-expression_21.6.14.bb} (64%) diff --git a/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb b/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb similarity index 64% rename from meta-python/recipes-devtools/python/python3-license-expression_1.2.bb rename to meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb index c033bd3527..0513d091f9 100644 --- a/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb +++ b/meta-python/recipes-devtools/python/python3-license-expression_21.6.14.bb @@ -2,16 +2,20 @@ SUMMARY = "Utility library to parse, compare, simplify and normalize license exp HOMEPAGE = "https://github.com/nexB/license-expression" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" +LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=9429839cdc4b292ff46e88b524c6e0c9" -SRC_URI[md5sum] = "fd4cb295cc345be1071274cdbd81c969" -SRC_URI[sha256sum] = "7960e1dfdf20d127e75ead931476f2b5c7556df05b117a73880b22ade17d1abc" +SRC_URI[sha256sum] = "9de87a427c9a449eee7913472fb9ed03b63036295547369fdbf95f76a8b924b2" inherit pypi ptest setuptools3 +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ + ${PYTHON_PN}-wheel-native \ +" + RDEPENDS_${PN} += "\ ${PYTHON_PN}-booleanpy \ - " +" BBCLASSEXTEND = "native nativesdk"