Extend the SPDX v2 model to support referencing extracted licensing information, which is either not in the SPDX license list or can't be expressed by the SPDX-compliant license expression. Cover the new functionality by unit tests. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
35 lines
692 B
Python
35 lines
692 B
Python
"""Module for creating SPDX spec v2 Software Bill of Materials (SBOM) files."""
|
|
|
|
from .model import (
|
|
Checksum,
|
|
ChecksumAlgorithm,
|
|
CreationInfo,
|
|
Creator,
|
|
CreatorType,
|
|
Document,
|
|
ExternalPackageRef,
|
|
ExternalPackageRefCategory,
|
|
ExtractedLicensingInfo,
|
|
NoAssertionValue,
|
|
NoneValue,
|
|
Package,
|
|
Relationship,
|
|
RelationshipType,
|
|
)
|
|
|
|
__all__ = [
|
|
"Checksum",
|
|
"ChecksumAlgorithm",
|
|
"CreationInfo",
|
|
"Creator",
|
|
"CreatorType",
|
|
"Document",
|
|
"ExternalPackageRef",
|
|
"ExtractedLicensingInfo",
|
|
"ExternalPackageRefCategory",
|
|
"NoAssertionValue",
|
|
"NoneValue",
|
|
"Package",
|
|
"Relationship",
|
|
"RelationshipType"
|
|
]
|