Cupt::Cache::ArchitecturedRelation(3) store info about the relation with architecture specifier

METHODS

new

creates new Cupt::Cache::ArchitecturedRelation object

Parameters:

relation_string - bare relation string (examples: "nlkt [amd64]", "nlkt (>= 0.3.1)"

stringify

method, returns canonical stringified form of the relation

FREE SUBROUTINES

unarchitecture_relation_expressions

free subroutine, converts array of architectured relation expressions to array of regular relation expressions

Parameters:

ref_architectured_relation_expressions - input array

current_architecture - string, current architecture

parse_architectured_relation_expression

free subroutine, parses architectured relation expression in string form, builds ``Relation expression'' and returns it

parse_architectured_relation_line

free subroutine, parses line of architectured relation expressions, builds array of ``Relation expression''s and returns reference to it