diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/spdx.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/lib/oe/spdx.py b/meta/lib/oe/spdx.py index 9814fbfd66..a99e54ff40 100644 --- a/meta/lib/oe/spdx.py +++ b/meta/lib/oe/spdx.py | |||
@@ -123,6 +123,12 @@ class SPDXObject(metaclass=MetaSPDXObject): | |||
123 | raise KeyError("%r is not a valid SPDX property" % name) | 123 | raise KeyError("%r is not a valid SPDX property" % name) |
124 | 124 | ||
125 | 125 | ||
126 | class SPDXAnnotation(SPDXObject): | ||
127 | annotationDate = _String() | ||
128 | annotationType = _String() | ||
129 | annotator = _String() | ||
130 | comment = _String() | ||
131 | |||
126 | class SPDXChecksum(SPDXObject): | 132 | class SPDXChecksum(SPDXObject): |
127 | algorithm = _String() | 133 | algorithm = _String() |
128 | checksumValue = _String() | 134 | checksumValue = _String() |
@@ -164,6 +170,7 @@ class SPDXPackage(SPDXObject): | |||
164 | packageVerificationCode = _Object(SPDXPackageVerificationCode) | 170 | packageVerificationCode = _Object(SPDXPackageVerificationCode) |
165 | hasFiles = _StringList() | 171 | hasFiles = _StringList() |
166 | packageFileName = _String() | 172 | packageFileName = _String() |
173 | annotations = _ObjectList(SPDXAnnotation) | ||
167 | 174 | ||
168 | 175 | ||
169 | class SPDXFile(SPDXObject): | 176 | class SPDXFile(SPDXObject): |