package dose3
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=dedc2f58f2c2b59021f484abc6681d93
sha512=603462645bac190892a816ecb36ef7b9c52f0020f8d7710dc430e2db65122090fdedb24a8d2e03c32bf53a96515f5b51499603b839680d0a7a2146d6e0fb6e34
doc/dose3.pef/Dose_pef/Packages/class-package/index.html
Class Packages.packageSource
Representation 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 -> 'amethod pp : out_channel -> unit