python-alpm 0.3.0__cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,257 @@
1
+ """Handling of metadata found in a `pkgname` section of SRCINFO data."""
2
+
3
+ from typing import TypeVar, Generic, Optional, TypeAlias, Union
4
+
5
+ from alpm.alpm_types import (
6
+ Url,
7
+ RelativeFilePath,
8
+ License,
9
+ OptionalDependency,
10
+ PackageRelation,
11
+ Architectures,
12
+ )
13
+ from alpm.type_aliases import RelationOrSoname, MakepkgOption, SystemArchitecture
14
+
15
+ Overridable: TypeAlias = Union[
16
+ str,
17
+ list[str],
18
+ Url,
19
+ list[MakepkgOption],
20
+ RelativeFilePath,
21
+ list[RelativeFilePath],
22
+ list[License],
23
+ list[RelationOrSoname],
24
+ list[OptionalDependency],
25
+ list[PackageRelation],
26
+ ]
27
+
28
+ T = TypeVar("T", bound=Optional[Overridable])
29
+
30
+ class Override(Generic[T]):
31
+ """An override for respective defaults in PackageBase.
32
+
33
+ Used as Override[T] | None:
34
+ - **None** - no override, use the default from PackageBase.
35
+
36
+ Equivalent to Override::No in Rust alpm-srcinfo crate.
37
+
38
+ - **Override(None)** - clear the field.
39
+
40
+ Equivalent to Override::Clear in Rust alpm-srcinfo crate.
41
+
42
+ - **Override(value)** - override the field with value.
43
+
44
+ Equivalent to Override::Yes { value } in Rust alpm-srcinfo crate.
45
+ """
46
+
47
+ def __init__(self, value: Optional[T]):
48
+ """Create a new Override with the given value.
49
+
50
+ If value is None, the override clears the field.
51
+
52
+ Args:
53
+ value (Optional[T]): The value of the override, or None to clear the field.
54
+
55
+ """
56
+
57
+ @property
58
+ def value(self) -> Optional[T]:
59
+ """The value of the override."""
60
+
61
+ def __repr__(self) -> str: ...
62
+
63
+ class Package:
64
+ """Package metadata based on a pkgname section in SRCINFO data.
65
+
66
+ This class only contains package specific overrides.
67
+ Only in combination with PackageBase data a full view on a package's metadata is
68
+ possible.
69
+ """
70
+
71
+ __hash__ = None # type: ignore
72
+
73
+ def __init__(self, name: str):
74
+ """Initialize a new Package with the given name.
75
+
76
+ Args:
77
+ name (str): The name of the package. Must be a valid alpm-package-name.
78
+
79
+ Raises:
80
+ ALPMError: If the name is not a valid alpm-package-name.
81
+
82
+ """
83
+
84
+ @property
85
+ def name(self) -> str:
86
+ """The alpm-package-name of the package."""
87
+
88
+ @name.setter
89
+ def name(self, name: str) -> None: ...
90
+ @property
91
+ def description(self) -> Optional[Override[str]]:
92
+ """Override of the package's description."""
93
+
94
+ @description.setter
95
+ def description(self, description: Optional[Override[str]]) -> None: ...
96
+ @property
97
+ def url(self) -> Optional[Override[Url]]:
98
+ """Override of the package's upstream URL."""
99
+
100
+ @url.setter
101
+ def url(self, url: Optional[Override[Url]]) -> None: ...
102
+ @property
103
+ def changelog(self) -> Optional[Override[RelativeFilePath]]:
104
+ """Override of the package's path to a changelog file."""
105
+
106
+ @changelog.setter
107
+ def changelog(self, changelog: Optional[Override[RelativeFilePath]]) -> None: ...
108
+ @property
109
+ def licenses(self) -> Optional[Override[list[License]]]:
110
+ """Override of licenses that apply to the package."""
111
+
112
+ @licenses.setter
113
+ def licenses(self, licenses: Optional[Override[list[License]]]) -> None: ...
114
+ @property
115
+ def install(self) -> Optional[Override[RelativeFilePath]]:
116
+ """Override of the package's install script path."""
117
+
118
+ @install.setter
119
+ def install(self, install: Optional[Override[RelativeFilePath]]) -> None: ...
120
+ @property
121
+ def groups(self) -> Optional[Override[list[str]]]:
122
+ """Override of alpm-package-groups the package is part of."""
123
+
124
+ @groups.setter
125
+ def groups(self, groups: Optional[Override[list[str]]]) -> None: ...
126
+ @property
127
+ def options(self) -> Optional[Override[list[MakepkgOption]]]:
128
+ """Override of build tool options used when building the package."""
129
+
130
+ @options.setter
131
+ def options(self, options: Optional[Override[list[MakepkgOption]]]) -> None: ...
132
+ @property
133
+ def backups(self) -> Optional[Override[list[RelativeFilePath]]]:
134
+ """Override of paths to files in the package that should be backed up."""
135
+
136
+ @backups.setter
137
+ def backups(self, backups: Optional[Override[list[RelativeFilePath]]]) -> None: ...
138
+ @property
139
+ def architectures(self) -> Optional[Architectures]:
140
+ """The architectures that are supported by this package."""
141
+
142
+ @architectures.setter
143
+ def architectures(self, architectures: Optional[Architectures]) -> None: ...
144
+ @property
145
+ def architecture_properties(
146
+ self,
147
+ ) -> dict[SystemArchitecture, "PackageArchitecture"]:
148
+ """Architecture specific overrides for the package.
149
+
150
+ The keys of the dictionary are the architectures for which overrides are
151
+ specified. The values are PackageArchitecture instances containing the
152
+ overrides.
153
+
154
+ This field is only relevant if Package.architectures is set.
155
+ """
156
+
157
+ @architecture_properties.setter
158
+ def architecture_properties(
159
+ self, architecture_properties: dict[SystemArchitecture, "PackageArchitecture"]
160
+ ) -> None: ...
161
+ @property
162
+ def dependencies(self) -> Optional[Override[list[RelationOrSoname]]]:
163
+ """The (potentially overridden) list of run-time dependencies of the package."""
164
+
165
+ @dependencies.setter
166
+ def dependencies(
167
+ self, dependencies: Optional[Override[list[RelationOrSoname]]]
168
+ ) -> None: ...
169
+ @property
170
+ def optional_dependencies(self) -> Optional[Override[list[OptionalDependency]]]:
171
+ """The (potentially overridden) list of optional dependencies of the package."""
172
+
173
+ @optional_dependencies.setter
174
+ def optional_dependencies(
175
+ self, optional_dependencies: Optional[Override[list[OptionalDependency]]]
176
+ ) -> None: ...
177
+ @property
178
+ def provides(self) -> Optional[Override[list[RelationOrSoname]]]:
179
+ """The (potentially overridden) list of provisions of the package."""
180
+
181
+ @provides.setter
182
+ def provides(
183
+ self, provides: Optional[Override[list[RelationOrSoname]]]
184
+ ) -> None: ...
185
+ @property
186
+ def conflicts(self) -> Optional[Override[list[PackageRelation]]]:
187
+ """The (potentially overridden) list of conflicts of the package."""
188
+
189
+ @conflicts.setter
190
+ def conflicts(
191
+ self, conflicts: Optional[Override[list[PackageRelation]]]
192
+ ) -> None: ...
193
+ @property
194
+ def replaces(self) -> Optional[Override[list[PackageRelation]]]:
195
+ """The (potentially overridden) list of replacements of the package."""
196
+
197
+ @replaces.setter
198
+ def replaces(self, replaces: Optional[Override[list[PackageRelation]]]) -> None: ...
199
+ def __str__(self) -> str: ...
200
+ def __repr__(self) -> str: ...
201
+
202
+ class PackageArchitecture:
203
+ """Architecture specific package properties for use in Package.
204
+
205
+ For each Architecture defined in Package.architectures, a PackageArchitecture is
206
+ present in Package.architecture_properties.
207
+ """
208
+
209
+ __hash__ = None # type: ignore
210
+
211
+ def __init__(self) -> None:
212
+ """Initialize an empty PackageArchitecture with all overrides set to None."""
213
+
214
+ @property
215
+ def dependencies(self) -> Optional[Override[list[RelationOrSoname]]]:
216
+ """The (potentially overridden) list of run-time dependencies of the package."""
217
+
218
+ @dependencies.setter
219
+ def dependencies(
220
+ self, dependencies: Optional[Override[list[RelationOrSoname]]]
221
+ ) -> None: ...
222
+ @property
223
+ def optional_dependencies(self) -> Optional[Override[list[OptionalDependency]]]:
224
+ """The (potentially overridden) list of optional dependencies of the package."""
225
+
226
+ @optional_dependencies.setter
227
+ def optional_dependencies(
228
+ self, optional_dependencies: Optional[Override[list[OptionalDependency]]]
229
+ ) -> None: ...
230
+ @property
231
+ def provides(self) -> Optional[Override[list[RelationOrSoname]]]:
232
+ """The (potentially overridden) list of provisions of the package."""
233
+
234
+ @provides.setter
235
+ def provides(
236
+ self, provides: Optional[Override[list[RelationOrSoname]]]
237
+ ) -> None: ...
238
+ @property
239
+ def conflicts(self) -> Optional[Override[list[PackageRelation]]]:
240
+ """The (potentially overridden) list of conflicts of the package."""
241
+
242
+ @conflicts.setter
243
+ def conflicts(
244
+ self, conflicts: Optional[Override[list[PackageRelation]]]
245
+ ) -> None: ...
246
+ @property
247
+ def replaces(self) -> Optional[Override[list[PackageRelation]]]:
248
+ """The (potentially overridden) list of replacements of the package."""
249
+
250
+ @replaces.setter
251
+ def replaces(self, replaces: Optional[Override[list[PackageRelation]]]) -> None: ...
252
+
253
+ __all__ = [
254
+ "Override",
255
+ "Package",
256
+ "PackageArchitecture",
257
+ ]
@@ -0,0 +1,403 @@
1
+ """Handling of metadata found in the pkgbase section of SRCINFO data."""
2
+
3
+ from typing import Optional
4
+
5
+ from alpm.alpm_srcinfo.source_info.v1.package import PackageArchitecture
6
+ from alpm.alpm_types import (
7
+ FullVersion,
8
+ Url,
9
+ RelativeFilePath,
10
+ License,
11
+ Architectures,
12
+ OptionalDependency,
13
+ PackageRelation,
14
+ Source,
15
+ SkippableBlake2b512Checksum,
16
+ SkippableMd5Checksum,
17
+ SkippableSha1Checksum,
18
+ SkippableSha224Checksum,
19
+ SkippableSha256Checksum,
20
+ SkippableSha384Checksum,
21
+ SkippableSha512Checksum,
22
+ SkippableCrc32CksumChecksum,
23
+ )
24
+ from alpm.type_aliases import (
25
+ MakepkgOption,
26
+ OpenPGPIdentifier,
27
+ RelationOrSoname,
28
+ SystemArchitecture,
29
+ )
30
+
31
+ class PackageBaseArchitecture:
32
+ """Architecture specific package base properties for use in PackageBase.
33
+
34
+ For each Architecture defined in PackageBase.architectures a
35
+ PackageBaseArchitecture is present in PackageBase.architecture_properties.
36
+ """
37
+
38
+ def __init__(self) -> None:
39
+ """Initialize a new PackageBaseArchitecture with default values."""
40
+
41
+ def merge_package_properties(self, properties: "PackageArchitecture") -> None:
42
+ """Merge in the architecture specific properties of a package.
43
+
44
+ Each existing field of properties overrides the architecture-independent
45
+ pendant on self.
46
+
47
+ Args:
48
+ properties (PackageArchitecture): The architecture specific properties of a
49
+ package to merge in.
50
+
51
+ """
52
+
53
+ @property
54
+ def dependencies(self) -> list["RelationOrSoname"]:
55
+ """The list of run-time dependencies of the package base."""
56
+
57
+ @dependencies.setter
58
+ def dependencies(self, dependencies: list["RelationOrSoname"]) -> None: ...
59
+ @property
60
+ def optional_dependencies(self) -> list["OptionalDependency"]:
61
+ """The list of optional dependencies of the package base."""
62
+
63
+ @optional_dependencies.setter
64
+ def optional_dependencies(
65
+ self, optional_dependencies: list["OptionalDependency"]
66
+ ) -> None: ...
67
+ @property
68
+ def provides(self) -> list["RelationOrSoname"]:
69
+ """The list of provisions of the package base."""
70
+
71
+ @provides.setter
72
+ def provides(self, provides: list["RelationOrSoname"]) -> None: ...
73
+ @property
74
+ def conflicts(self) -> list["PackageRelation"]:
75
+ """The list of conflicts of the package base."""
76
+
77
+ @conflicts.setter
78
+ def conflicts(self, conflicts: list["PackageRelation"]) -> None: ...
79
+ @property
80
+ def replaces(self) -> list["PackageRelation"]:
81
+ """The list of replacements of the package base."""
82
+
83
+ @replaces.setter
84
+ def replaces(self, replaces: list["PackageRelation"]) -> None: ...
85
+ @property
86
+ def check_dependencies(self) -> list["PackageRelation"]:
87
+ """The list of test dependencies of the package base."""
88
+
89
+ @check_dependencies.setter
90
+ def check_dependencies(
91
+ self, check_dependencies: list["PackageRelation"]
92
+ ) -> None: ...
93
+ @property
94
+ def make_dependencies(self) -> list["PackageRelation"]:
95
+ """The list of build dependencies of the package base."""
96
+
97
+ @make_dependencies.setter
98
+ def make_dependencies(self, make_dependencies: list["PackageRelation"]) -> None: ...
99
+ @property
100
+ def sources(self) -> list["Source"]:
101
+ """The list of sources of the package base."""
102
+
103
+ @sources.setter
104
+ def sources(self, sources: list["Source"]) -> None: ...
105
+ @property
106
+ def b2_checksums(self) -> list["SkippableBlake2b512Checksum"]:
107
+ """The list of Blake2 hash digests for sources of the package base."""
108
+
109
+ @b2_checksums.setter
110
+ def b2_checksums(
111
+ self, b2_checksums: list["SkippableBlake2b512Checksum"]
112
+ ) -> None: ...
113
+ @property
114
+ def md5_checksums(self) -> list["SkippableMd5Checksum"]:
115
+ """The list of MD5 hash digests for sources of the package base."""
116
+
117
+ @md5_checksums.setter
118
+ def md5_checksums(self, md5_checksums: list["SkippableMd5Checksum"]) -> None: ...
119
+ @property
120
+ def sha1_checksums(self) -> list["SkippableSha1Checksum"]:
121
+ """The list of SHA1 hash digests for sources of the package base."""
122
+
123
+ @sha1_checksums.setter
124
+ def sha1_checksums(self, sha1_checksums: list["SkippableSha1Checksum"]) -> None: ...
125
+ @property
126
+ def sha224_checksums(self) -> list["SkippableSha224Checksum"]:
127
+ """The list of SHA224 hash digests for sources of the package base."""
128
+
129
+ @sha224_checksums.setter
130
+ def sha224_checksums(
131
+ self, sha224_checksums: list["SkippableSha224Checksum"]
132
+ ) -> None: ...
133
+ @property
134
+ def sha256_checksums(self) -> list["SkippableSha256Checksum"]:
135
+ """The list of SHA256 hash digests for sources of the package base."""
136
+
137
+ @sha256_checksums.setter
138
+ def sha256_checksums(
139
+ self, sha256_checksums: list["SkippableSha256Checksum"]
140
+ ) -> None: ...
141
+ @property
142
+ def sha384_checksums(self) -> list["SkippableSha384Checksum"]:
143
+ """The list of SHA384 hash digests for sources of the package base."""
144
+
145
+ @sha384_checksums.setter
146
+ def sha384_checksums(
147
+ self, sha384_checksums: list["SkippableSha384Checksum"]
148
+ ) -> None: ...
149
+ @property
150
+ def sha512_checksums(self) -> list["SkippableSha512Checksum"]:
151
+ """The list of SHA512 hash digests for sources of the package base."""
152
+
153
+ @sha512_checksums.setter
154
+ def sha512_checksums(
155
+ self, sha512_checksums: list["SkippableSha512Checksum"]
156
+ ) -> None: ...
157
+ @property
158
+ def crc_checksums(self) -> list["SkippableCrc32CksumChecksum"]:
159
+ """The list of CRC-32/CKSUM hash digests for sources of the package base."""
160
+
161
+ @crc_checksums.setter
162
+ def crc_checksums(
163
+ self, crc_checksums: list["SkippableCrc32CksumChecksum"]
164
+ ) -> None: ...
165
+ def __eq__(self, other: object) -> bool: ...
166
+
167
+ class PackageBase:
168
+ """Package base metadata based on the pkgbase section in SRCINFO data.
169
+
170
+ All values in this struct act as default values for all Packages in the scope of
171
+ specific SRCINFO data.
172
+
173
+ A MergedPackage (a full view on a package's metadata) can be created using
174
+ SourceInfoV1.packages_for_architecture.
175
+ """
176
+
177
+ def __init__(self, name: str, version: "FullVersion") -> None:
178
+ """Create a new PackageBase from a name and a FullVersion.
179
+
180
+ Uses the name and version and initializes all remaining fields of PackageBase
181
+ with default values.
182
+
183
+ Args:
184
+ name (str): The name of the package base.
185
+ version (FullVersion): The version of the package base.
186
+
187
+ Raises:
188
+ ALPMError: If the provided name is not valid.
189
+
190
+ """
191
+
192
+ @property
193
+ def name(self) -> str:
194
+ """The alpm-package-name of the package base."""
195
+
196
+ @name.setter
197
+ def name(self, name: str) -> None: ...
198
+ @property
199
+ def description(self) -> Optional[str]:
200
+ """The optional description of the package base."""
201
+
202
+ @description.setter
203
+ def description(self, description: Optional[str]) -> None: ...
204
+ @property
205
+ def url(self) -> Optional["Url"]:
206
+ """The optional upstream URL of the package base."""
207
+
208
+ @url.setter
209
+ def url(self, url: Optional["Url"]) -> None: ...
210
+ @property
211
+ def changelog(self) -> Optional["RelativeFilePath"]:
212
+ """The optional changelog path of the package base."""
213
+
214
+ @changelog.setter
215
+ def changelog(self, changelog: Optional["RelativeFilePath"]) -> None: ...
216
+ @property
217
+ def licenses(self) -> list["License"]:
218
+ """The list of licenses that apply to the package base."""
219
+
220
+ @licenses.setter
221
+ def licenses(self, licenses: list["License"]) -> None: ...
222
+ @property
223
+ def install(self) -> Optional["RelativeFilePath"]:
224
+ """Relative path to an alpm-install-scriptlet of the package base."""
225
+
226
+ @install.setter
227
+ def install(self, install: Optional["RelativeFilePath"]) -> None: ...
228
+ @property
229
+ def groups(self) -> list[str]:
230
+ """List of alpm-package-groups the package base is part of."""
231
+
232
+ @groups.setter
233
+ def groups(self, groups: list[str]) -> None: ...
234
+ @property
235
+ def options(self) -> list["MakepkgOption"]:
236
+ """The list of build tool options used when building."""
237
+
238
+ @options.setter
239
+ def options(self, options: list["MakepkgOption"]) -> None: ...
240
+ @property
241
+ def backups(self) -> list["RelativeFilePath"]:
242
+ """Relative paths to files in a package that should be backed up."""
243
+
244
+ @backups.setter
245
+ def backups(self, backups: list["RelativeFilePath"]) -> None: ...
246
+ @property
247
+ def version(self) -> "FullVersion":
248
+ """The FullVersion of the package base."""
249
+
250
+ @version.setter
251
+ def version(self, version: "FullVersion") -> None: ...
252
+ @property
253
+ def pgp_fingerprints(self) -> list["OpenPGPIdentifier"]:
254
+ """OpenPGPIdentifiers used for the verification of upstream sources."""
255
+
256
+ @pgp_fingerprints.setter
257
+ def pgp_fingerprints(self, pgp_fingerprints: list["OpenPGPIdentifier"]) -> None: ...
258
+ @property
259
+ def architectures(self) -> Architectures:
260
+ """Architectures of the package base."""
261
+
262
+ @architectures.setter
263
+ def architectures(self, architectures: Architectures) -> None: ...
264
+ @property
265
+ def architecture_properties(
266
+ self,
267
+ ) -> dict[SystemArchitecture, PackageBaseArchitecture]:
268
+ """Architecture specific properties.
269
+
270
+ Dict of alpm-architecture specific overrides for package relations of a
271
+ package base.
272
+ """
273
+
274
+ @architecture_properties.setter
275
+ def architecture_properties(
276
+ self, architecture_properties: dict[SystemArchitecture, PackageBaseArchitecture]
277
+ ) -> None: ...
278
+ @property
279
+ def dependencies(self) -> list["RelationOrSoname"]:
280
+ """The list of run-time dependencies of the package base."""
281
+
282
+ @dependencies.setter
283
+ def dependencies(self, dependencies: list["RelationOrSoname"]) -> None: ...
284
+ @property
285
+ def optional_dependencies(self) -> list["OptionalDependency"]:
286
+ """The list of optional dependencies of the package base."""
287
+
288
+ @optional_dependencies.setter
289
+ def optional_dependencies(
290
+ self, optional_dependencies: list["OptionalDependency"]
291
+ ) -> None: ...
292
+ @property
293
+ def provides(self) -> list["RelationOrSoname"]:
294
+ """The list of provisions of the package base."""
295
+
296
+ @provides.setter
297
+ def provides(self, provides: list["RelationOrSoname"]) -> None: ...
298
+ @property
299
+ def conflicts(self) -> list["PackageRelation"]:
300
+ """The list of conflicts of the package base."""
301
+
302
+ @conflicts.setter
303
+ def conflicts(self, conflicts: list["PackageRelation"]) -> None: ...
304
+ @property
305
+ def replaces(self) -> list["PackageRelation"]:
306
+ """The list of replacements of the package base."""
307
+
308
+ @replaces.setter
309
+ def replaces(self, replaces: list["PackageRelation"]) -> None: ...
310
+ @property
311
+ def check_dependencies(self) -> list["PackageRelation"]:
312
+ """The list of test dependencies of the package base."""
313
+
314
+ @check_dependencies.setter
315
+ def check_dependencies(
316
+ self, check_dependencies: list["PackageRelation"]
317
+ ) -> None: ...
318
+ @property
319
+ def make_dependencies(self) -> list["PackageRelation"]:
320
+ """The list of build dependencies of the package base."""
321
+
322
+ @make_dependencies.setter
323
+ def make_dependencies(self, make_dependencies: list["PackageRelation"]) -> None: ...
324
+ @property
325
+ def sources(self) -> list["Source"]:
326
+ """The list of sources of the package base."""
327
+
328
+ @sources.setter
329
+ def sources(self, sources: list["Source"]) -> None: ...
330
+ @property
331
+ def no_extracts(self) -> list[str]:
332
+ """The list of sources of the package base that are not extracted."""
333
+
334
+ @no_extracts.setter
335
+ def no_extracts(self, no_extracts: list[str]) -> None: ...
336
+ @property
337
+ def b2_checksums(self) -> list["SkippableBlake2b512Checksum"]:
338
+ """The list of Blake2 hash digests for sources of the package base."""
339
+
340
+ @b2_checksums.setter
341
+ def b2_checksums(
342
+ self, b2_checksums: list["SkippableBlake2b512Checksum"]
343
+ ) -> None: ...
344
+ @property
345
+ def md5_checksums(self) -> list["SkippableMd5Checksum"]:
346
+ """The list of MD5 hash digests for sources of the package base."""
347
+
348
+ @md5_checksums.setter
349
+ def md5_checksums(self, md5_checksums: list["SkippableMd5Checksum"]) -> None: ...
350
+ @property
351
+ def sha1_checksums(self) -> list["SkippableSha1Checksum"]:
352
+ """The list of SHA1 hash digests for sources of the package base."""
353
+
354
+ @sha1_checksums.setter
355
+ def sha1_checksums(self, sha1_checksums: list["SkippableSha1Checksum"]) -> None: ...
356
+ @property
357
+ def sha224_checksums(self) -> list["SkippableSha224Checksum"]:
358
+ """The list of SHA224 hash digests for sources of the package base."""
359
+
360
+ @sha224_checksums.setter
361
+ def sha224_checksums(
362
+ self, sha224_checksums: list["SkippableSha224Checksum"]
363
+ ) -> None: ...
364
+ @property
365
+ def sha256_checksums(self) -> list["SkippableSha256Checksum"]:
366
+ """The list of SHA256 hash digests for sources of the package base."""
367
+
368
+ @sha256_checksums.setter
369
+ def sha256_checksums(
370
+ self, sha256_checksums: list["SkippableSha256Checksum"]
371
+ ) -> None: ...
372
+ @property
373
+ def sha384_checksums(self) -> list["SkippableSha384Checksum"]:
374
+ """The list of SHA384 hash digests for sources of the package base."""
375
+
376
+ @sha384_checksums.setter
377
+ def sha384_checksums(
378
+ self, sha384_checksums: list["SkippableSha384Checksum"]
379
+ ) -> None: ...
380
+ @property
381
+ def sha512_checksums(self) -> list["SkippableSha512Checksum"]:
382
+ """The list of SHA512 hash digests for sources of the package base."""
383
+
384
+ @sha512_checksums.setter
385
+ def sha512_checksums(
386
+ self, sha512_checksums: list["SkippableSha512Checksum"]
387
+ ) -> None: ...
388
+ @property
389
+ def crc_checksums(self) -> list["SkippableCrc32CksumChecksum"]:
390
+ """The list of CRC-32/CKSUM hash digests for sources of the package base."""
391
+
392
+ @crc_checksums.setter
393
+ def crc_checksums(
394
+ self, crc_checksums: list["SkippableCrc32CksumChecksum"]
395
+ ) -> None: ...
396
+ def __eq__(self, other: object) -> bool: ...
397
+ def __str__(self) -> str: ...
398
+ def __repr__(self) -> str: ...
399
+
400
+ __all__ = [
401
+ "PackageBase",
402
+ "PackageBaseArchitecture",
403
+ ]