Module Sources


module Sources: sig .. end
Representation of a parsed source description item. all fields are string

include struct ... end

type source = {
   name : Format822.name;
   version : Format822.version;
   binary : Format822.name list;
   architecture : Format822.architecture list;
   build_depends : Format822.builddepsformula;
   build_depends_indep : Format822.builddepsformula;
   build_conflicts : Format822.builddepslist;
   build_conflicts_indep : Format822.builddepslist;
}
val default_source : source
val parse_s : ?opt:'a ->
?err:string ->
?multi:bool ->
((Lexing.position * Lexing.position) * 'b -> 'a) ->
string -> (string * ((Lexing.position * Lexing.position) * 'b)) list -> 'a
val parse_name : Format822.loc * Format822.architecture -> Format822.name
val parse_version : Format822.loc * Format822.architecture -> Format822.version
val parse_arch : Format822.loc * Format822.architecture -> Format822.architecture list
val parse_binary : Format822.loc * Format822.architecture -> Format822.vpkgname list
val parse_builddepslist : Format822.loc * Format822.architecture -> Format822.builddepslist
val parse_builddepsformula : Format822.loc * Format822.architecture -> Format822.builddepsformula
val parse_package_stanza : (source -> bool) option ->
(string * (Format822.loc * Format822.architecture)) list ->
source option
val parse_sources_in : string -> IO.input -> source list
parse a debian Sources file from channel
val input_raw : string list -> source list
parse a debian Sources file
val sep : string
val sources2packages : ?src:string ->
Format822.architecture list -> source list -> Packages.package list
transform a list of sources into dummy packages to be then converted to cudf