Packages.packageRepresentation of a PEF package. This object gets a stanza (a list of list of fields) and return a pef object. Each field can be directly initialized using the optional arguments, providing the name of the field and an optional value. If the value is None, then the value is computed by parsing the corresponding field in the 822 stanza. Otherwise, the field is initialized using the given value (and ignoring the value in the 822 stanza).
Extra fields can be parsed and added to the stanza. The first element of extras is a list of tuples where the first element is a label indentifing a field and the second element is a parsing function. If the second element of extras is not None, then the list of (field,value) is append to the list of parsed extras from the 822 stanza.
method name : Dose_pef.Packages_types.nameAccess methods
method version : Dose_pef.Packages_types.versionmethod conflicts : Dose_pef.Packages_types.vpkglistmethod depends : Dose_pef.Packages_types.vpkgformulamethod provides : Dose_pef.Packages_types.vpkglistmethod recommends : Dose_pef.Packages_types.vpkgformulamethod installed : Dose_pef.Packages_types.installedval name : string * Dose_pef.Packages_types.namelow level val . Used in subclasses
val version : string * Dose_pef.Packages_types.versionval conflicts : string * Dose_pef.Packages_types.vpkglistval depends : string * Dose_pef.Packages_types.vpkgformulaval provides : string * Dose_pef.Packages_types.vpkglistval recommends : string * Dose_pef.Packages_types.vpkgformulaval installed : string * Dose_pef.Packages_types.installedmethod set_installed : Dose_pef.Packages_types.installed -> 'a