summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2023-05-11 22:07:44 +0800
committerKhem Raj <raj.khem@gmail.com>2023-05-11 07:18:59 -0700
commita1ee6eb4b54f342fa7ad5e7bb3a9ad5788523e67 (patch)
tree4ba0bf18a4e1663dd976ed606e7a65a3522346c8 /meta-python/recipes-devtools/python
parent15eb91e30fdb2a1e7963a6a8993965838d0ea7fb (diff)
downloadmeta-openembedded-a1ee6eb4b54f342fa7ad5e7bb3a9ad5788523e67.tar.gz
python3-uswid: Add initial support
Software Identification (SWID) tags provide an extensible XML-based structure to identify and describe individual software components, patches, and installation bundles. CoSWID supports a similar set of semantics and features as SWID tags, as well as new semantics that allow us to describe additional types of information, all in a more memory efficient format. python3-uswid is used to generate the CoSWID data blob. For example, fwupd project requires CoSWID data to be embedded into firmware binary to hold the version information. Signed-off-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-uswid_git.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-uswid_git.bb b/meta-python/recipes-devtools/python/python3-uswid_git.bb
new file mode 100644
index 0000000000..6b2089893f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-uswid_git.bb
@@ -0,0 +1,15 @@
1SUMMARY = "A pure-python library for embedding CoSWID data"
2HOMEPAGE = "https://github.com/hughsie/python-uswid"
3SECTION = "devel/python"
4LICENSE = "LGPL-2.1-or-later"
5
6DEPENDS += " python3-cbor2 python3-lxml python3-pefile"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
8
9SRC_URI = "git://github.com/hughsie/python-uswid.git;branch=main;protocol=https"
10SRCREV = "3223034abef88ae29cf79fdc7fe11ec7e21e11ff"
11S = "${WORKDIR}/git"
12
13inherit setuptools3 python3native
14
15BBCLASSEXTEND = "native nativesdk"