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>
This commit is contained in:
Jun Nie 2023-05-11 22:07:44 +08:00 committed by Khem Raj
parent 15eb91e30f
commit a1ee6eb4b5

View File

@ -0,0 +1,15 @@
SUMMARY = "A pure-python library for embedding CoSWID data"
HOMEPAGE = "https://github.com/hughsie/python-uswid"
SECTION = "devel/python"
LICENSE = "LGPL-2.1-or-later"
DEPENDS += " python3-cbor2 python3-lxml python3-pefile"
LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
SRC_URI = "git://github.com/hughsie/python-uswid.git;branch=main;protocol=https"
SRCREV = "3223034abef88ae29cf79fdc7fe11ec7e21e11ff"
S = "${WORKDIR}/git"
inherit setuptools3 python3native
BBCLASSEXTEND = "native nativesdk"