Modulemd.RpmMapEntry¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The artifact package architecture |
||
r/w/c |
The artifact package epoch |
||
r/w/c |
The artifact package name |
||
r |
The artifact package N-E:V-R.A |
||
r/w/c |
The artifact package release string |
||
r/w/c |
The artifact package version |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Modulemd.RpmMapEntry(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(name, epoch, version, release, arch)¶
- Parameters:
- Returns:
A newly-allocated
Modulemd.RpmMapEntry
object with the provided values.- Return type:
Create a new rpm-map entry. This will contain the decomposed NEVRA of an RPM artifact.
- copy()¶
- Returns:
A deep copy of this
Modulemd.RpmMapEntry
object.- Return type:
New in version 2.2.
- equals(other)¶
- Parameters:
other (
Modulemd.RpmMapEntry
) – AnotherModulemd.RpmMapEntry
object.- Returns:
True
if the two entries contain equivalent data.False
if they differ.- Return type:
New in version 2.2.
- get_nevra()¶
- Returns:
A newly-allocated string containing the complete N-E:V-R.A constructed from the component parts.
None
if any field is missing.- Return type:
New in version 2.2.
- set_release(release)¶
- Parameters:
release (
str
) – The package release string of this RPM.
New in version 2.2.
- set_version(version)¶
- Parameters:
version (
str
) – The package version of this RPM.
New in version 2.2.
- validate()¶
- Raises:
- Return type:
New in version 2.2.
Property Details¶
- Modulemd.RpmMapEntry.props.arch¶
-
The artifact package architecture
- Modulemd.RpmMapEntry.props.epoch¶
-
The artifact package epoch
- Modulemd.RpmMapEntry.props.name¶
-
The artifact package name
- Modulemd.RpmMapEntry.props.nevra¶
-
The artifact package N-E:V-R.A
- Modulemd.RpmMapEntry.props.release¶
-
The artifact package release string