Package dak :: Module examine_package
[show private | hide private]
[frames | no frames]

Module dak.examine_package

Function Summary
  check_changes(changes_filename)
  check_deb(suite, deb_filename)
  check_dsc(suite, dsc_filename)
  colour_output(s, colour)
  create_depends_string(suite, depends_tree)
  display_changes(suite, changes_filename)
  do_command(command, filename, escaped)
  do_lintian(filename)
  escape_if_needed(s)
  escaped_text(s, strip)
  foldable_output(title, elementnameprefix, content, norow)
  format_field(k, v)
  formatted_text(s, strip)
  get_comma_list(depend)
  get_copyright(deb_filename)
  get_depends_parts(depend)
  get_or_list(depend)
  headline(s, level, bodyelement)
  main()
  output_deb_info(suite, filename)
  output_row(s)
  read_changes_or_dsc(suite, filename)
  read_control(filename)
  split_depends(d_str)
  strip_pgp_signature(filename)
  usage(exit_code)

Variable Summary
dict ansi_colours = {'end': '\x1b[0m', 'bold': '\x1b[1m', 'no...
Configuration Cnf = <Configuration object at 0x7f5a6b212570>
dict html_colours = {'maintainer': ('<span style="color: gree...
dict printed_copyrights = {}
pgobject projectB = <pgobject object at 0x7f5a6b25b300>
SRE_Pattern re_arch = Architecture: .*
SRE_Pattern re_builddep = Build-Depends: .*
SRE_Pattern re_builddepind = Build-Depends-Indep: .*
SRE_Pattern re_contrib = ^contrib/
SRE_Pattern re_doc_directory = .*/doc/([^/]*).*
SRE_Pattern re_localhost = localhost\.localdomain
SRE_Pattern re_newlinespace = \n
SRE_Pattern re_nonfree = ^non-free/
SRE_Pattern re_package = ^(.+?)_.*
SRE_Pattern re_spacestrip = (\s)
SRE_Pattern re_version = ^(.*)\((.*)\)
int use_html = 0                                                                     

Imported modules:
apt_inst, apt_pkg, dak.daklib.database, errno, md5, os, pg, re, sys, dak.daklib.utils
Variable Details

ansi_colours

Type:
dict
Value:
{'arch': '\x1b[32m',
 'bold': '\x1b[1m',
 'contrib': '\x1b[33m',
 'end': '\x1b[0m',
 'main': '\x1b[36m',
 'maintainer': '\x1b[32m',
 'nonfree': '\x1b[31m'}                                                

Cnf

Type:
Configuration
Value:
<Configuration object at 0x7f5a6b212570>                               

html_colours

Type:
dict
Value:
{'arch': ('<span style="color: green">', '</span>'),
 'bold': ('<span style="font-weight: bold">', '</span>'),
 'contrib': ('<span style="color: yellow">', '</span>'),
 'main': ('<span style="color: aqua">', '</span>'),
 'maintainer': ('<span style="color: green">', '</span>'),
 'nonfree': ('<span style="color: red">', '</span>')}                  

printed_copyrights

Type:
dict
Value:
{}                                                                     

projectB

Type:
pgobject
Value:
<pgobject object at 0x7f5a6b25b300>                                    

re_arch

Type:
SRE_Pattern
Value:
Architecture: .*                                                       

re_builddep

Type:
SRE_Pattern
Value:
Build-Depends: .*                                                      

re_builddepind

Type:
SRE_Pattern
Value:
Build-Depends-Indep: .*                                                

re_contrib

Type:
SRE_Pattern
Value:
^contrib/                                                              

re_doc_directory

Type:
SRE_Pattern
Value:
.*/doc/([^/]*).*                                                       

re_localhost

Type:
SRE_Pattern
Value:
localhost\.localdomain                                                 

re_newlinespace

Type:
SRE_Pattern
Value:
\n                                                                     

re_nonfree

Type:
SRE_Pattern
Value:
^non-free/                                                             

re_package

Type:
SRE_Pattern
Value:
^(.+?)_.*                                                              

re_spacestrip

Type:
SRE_Pattern
Value:
(\s)                                                                   

re_version

Type:
SRE_Pattern
Value:
^(.*)\((.*)\)                                                          

use_html

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Sat Jan 24 18:08:17 2009 http://epydoc.sf.net