summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/spdx.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/spdx.py')
-rw-r--r--meta/lib/oe/spdx.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/lib/oe/spdx.py b/meta/lib/oe/spdx.py
index c74ea68878..7aaf2af5ed 100644
--- a/meta/lib/oe/spdx.py
+++ b/meta/lib/oe/spdx.py
@@ -216,6 +216,18 @@ class SPDXPackageVerificationCode(SPDXObject):
216 216
217 217
218class SPDXPackage(SPDXObject): 218class SPDXPackage(SPDXObject):
219 ALLOWED_CHECKSUMS = [
220 "SHA1",
221 "SHA224",
222 "SHA256",
223 "SHA384",
224 "SHA512",
225 "MD2",
226 "MD4",
227 "MD5",
228 "MD6",
229 ]
230
219 name = _String() 231 name = _String()
220 SPDXID = _String() 232 SPDXID = _String()
221 versionInfo = _String() 233 versionInfo = _String()
@@ -234,6 +246,7 @@ class SPDXPackage(SPDXObject):
234 hasFiles = _StringList() 246 hasFiles = _StringList()
235 packageFileName = _String() 247 packageFileName = _String()
236 annotations = _ObjectList(SPDXAnnotation) 248 annotations = _ObjectList(SPDXAnnotation)
249 checksums = _ObjectList(SPDXChecksum)
237 250
238 251
239class SPDXFile(SPDXObject): 252class SPDXFile(SPDXObject):