Modulemd.Dependencies¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Modulemd.Dependencies(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
A newly-allocated
Modulemd.Dependencies
object. This object must be freed withGObject.Object.unref
().- Return type:
New in version 2.0.
- add_buildtime_stream(module_name, module_stream)¶
- Parameters:
Add a single stream of a module that is required to build another dependent module. The matrix of streams and module names will be calculated by the build-system. If the provided module name is already present, the streams will be added (with deduplication).
New in version 2.0.
- add_runtime_stream(module_name, module_stream)¶
- Parameters:
Adds a module and its stream that is required at runtime by a dependent module. The matrix of streams and module names will be calculated by the build-system. If the listed provided module name is already present, the streams will be added (with deduplication).
New in version 2.0.
- clear_buildtime_dependencies()¶
Remove all buildtime dependencies from this
Modulemd.Dependencies
object.New in version 2.5.
- clear_runtime_dependencies()¶
Remove all runtime dependencies from this
Modulemd.Dependencies
object.New in version 2.5.
- copy()¶
- Returns:
The copied
Modulemd.Dependencies
object.- Return type:
Create a copy of this
Modulemd.Dependencies
object.New in version 2.0.
- equals(self_2)¶
- Parameters:
self_2 (
Modulemd.Dependencies
) – AModulemd.Dependencies
object.- Returns:
- Return type:
Check if self and self_2 are equal objects.
New in version 2.2.
- get_buildtime_modules()¶
- Returns:
An ordered #GStrv list of module names of build-time dependencies.
- Return type:
[
str
]
New in version 2.0.
- get_buildtime_streams(module)¶
- Parameters:
module (
str
) – The name of the module.- Returns:
An ordered #GStrv list of module streams associated with the specified module that are required at build-time.
- Return type:
New in version 2.0.
- get_runtime_modules()¶
- Returns:
An ordered #GStrv list of module names of run-time dependencies.
- Return type:
[
str
]
New in version 2.0.
- get_runtime_streams(module)¶
- Parameters:
module (
str
) – The name of the module.- Returns:
An ordered #GStrv list of module streams associated with the specified module that are required at run-time.
- Return type:
New in version 2.0.