python3-spdx-tools: add recipe

python3-spdx-tools provides tools for SPDX validation and conversion.

(From OE-Core rev: 4482435d82a5e44c500715d5db0cd05f9876e5f4)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Samantha Jalabert
2023-09-22 14:46:27 +00:00
committed by Richard Purdie
parent 8b3c0a2256
commit 1be0c80ab7

View File

@@ -0,0 +1,28 @@
SUMMARY = "Python tool to parse, validate and convert spdx files"
HOMEPAGE = "https://github.com/spdx/tools-python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dc7f21ccff0f672f2a7cd6f412ae627d"
SRC_URI[sha256sum] = "c83652cd65b5726058dcbdaab85839dbe484c43ea6f61046137516aa1b8428ae"
BBCLASSEXTEND = "native nativesdk"
inherit setuptools3 pypi
# Dependency required for pyspdxtools : python3-click
# Dependencies required for conversion to spdx3 : python3-semantic-version, python3-ply
RDEPENDS:${PN} += "\
python3-core \
python3-beartype \
python3-click \
python3-datetime \
python3-json \
python3-license-expression \
python3-ply \
python3-pyyaml \
python3-rdflib \
python3-semantic-version \
python3-uritools \
python3-xmltodict \
"