Log in


Forgot your password?
 
You are here: Home Zpydoc API Documentation Products.RPMDistro.RPMSpec

 Products.RPMDistro.RPMSpec  

Up one level
Zpydoc Products RPMDistro RPMSpec
Classes
Class  class RPMSpecHTMLGenerator ( SimpleHTMLGenerator , RPMSpecHandler )
Method escape(self, text)
Method event_handler(self, style, **kwargs)
Method generate_html(self, buffer)
Method handle_other(self, style, text, **ignored)
Method markup(self, text)
Method preformat(self, text)
Class  class RPMSpecHandler ( DispatchHandler )
Method event_handler(self, style, **kwargs)
Class  class RPMSpecLexer ( Lexer )
Method tokenize_by_style(self, buffer, call_back=None)
Class  class SpecSupport ( )
base class for manipulating RPM spec files
Method addSpecRequires(self, spec='', clauses=[], operator='=')
Lock   Access contents information
returns the spec file with clauses injected as requires
Method existsSpec(self)
Lock   Access contents information
returns whether or not a spec file is present on the filesystem for this SRPM
Method getSpec(self)
Lock   Access contents information
return spec text
Method isSpecRequires(self)
Lock   Access contents information
returns whether or not auto-generated Requires have been applied
Method manage_bumpSpec(self, spec='', tags=(), REQUEST=None)
return the spec file tweaked as per tags (calling specBump<Tag> functor)
Method manage_editSpec(self, spec, build=False, REQUEST=None)
Lock   Change configuration
write/overwrite spec file on the filesystem
Method manage_injectSpec(self, text, aftertag, REQUEST=None)
Lock   Change configuration
inject the text (block) after the nominated tag
Method manage_removeSpec(self, tag, REQUEST=None)
Lock   Change configuration
returns the spec file with generated requires removed
Method manage_removeSpecRequires(self, REQUEST=None)
Lock   Change configuration
returns the spec file with generated requires removed
Method specAsHtml(self)
Lock   Access contents information
syntax hilighting for spec file
Functions
Function formatRequires (clauses, operator, count=3)
returns a list of requires header strings, count per line
Function removeRequires (line, clauses)
removes any of the clauses from the line
Document Actions
« February 2012 »
February
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
272829
Buy Now
Bastion CD
Subscribe Now
and get BastionLinux™ for as little as GBP 29.99 per month...