Docstring Fest

Paul Nasrat <pauln-xGvoirzvwgBWk0Htik3J/[email protected]> Tue, 19 Oct 2004 14:24:06 +0000
Newsgroups gmane.linux.redhat.rpm.python
Message-ID <[email protected]>
--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

For rpm 4.4 I'm doing a few things - moving to:

rpm/__init__.py 
rpm/_rpmmodule.so

Part of that I want to go through and add docstr where missing. I attach
current help(rpm) on my work in progress rpm/__init__.py. 

Anyone want to help out on this later this week?

Paul

--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=rpmdocstr

Help on package rpm:

NAME
    rpm - RPM Module

FILE
    /export/anu/home/pauln/src/rpm/python/rpm/__init__.py

DESCRIPTION
    This module enables you to manipulate rpms and the rpm database.

PACKAGE CONTENTS


CLASSES
    __builtin__.dict(__builtin__.object)
        rc
    __builtin__.object
        al
        ds
        fd
        fi
        fts
        hdr
        mi
        ps
        spec
        te
        ts
    
    class al(__builtin__.object)
     |  Methods defined here:
     |  
     |  Debug(...)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  add(...)
     |  
     |  addProvides(...)
     |  
     |  delete(...)
     |  
     |  makeIndex(...)
    
    class ds(__builtin__.object)
     |  Methods defined here:
     |  
     |  BT(...)
     |      ds.BT -> BT     - Return build time.
     |  
     |  Color(...)
     |      ds.Color -> Color       - Return current Color.
     |  
     |  Count(...)
     |      ds.Count -> Count       - Return no. of elements.
     |  
     |  DNEVR(...)
     |      ds.DNEVR -> DNEVR       - Return current DNEVR.
     |  
     |  Debug(...)
     |  
     |  EVR(...)
     |      ds.EVR -> EVR           - Return current EVR.
     |  
     |  Find(...)
     |  
     |  Flags(...)
     |      ds.Flags -> Flags       - Return current Flags.
     |  
     |  Ix(...)
     |      ds.Ix -> Ix             - Return current element index.
     |  
     |  Merge(...)
     |  
     |  N(...)
     |      ds.N -> N               - Return current N.
     |  
     |  Notify(...)
     |  
     |  Refs(...)
     |      ds.Refs -> Refs - Return current Refs.
     |  
     |  SetNoPromote(...)
     |  
     |  Sort(...)
     |  
     |  TagN(...)
     |      ds.TagN -> TagN - Return current TagN.
     |  
     |  __cmp__(...)
     |      x.__cmp__(y) <==> cmp(x,y)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __eq__(...)
     |      x.__eq__(y) <==> x==y
     |  
     |  __ge__(...)
     |      x.__ge__(y) <==> x>=y
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __getitem__(...)
     |      x.__getitem__(y) <==> x[y]
     |  
     |  __gt__(...)
     |      x.__gt__(y) <==> x>y
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __le__(...)
     |      x.__le__(y) <==> x<=y
     |  
     |  __len__(...)
     |      x.__len__() <==> len(x)
     |  
     |  __lt__(...)
     |      x.__lt__(y) <==> x<y
     |  
     |  __ne__(...)
     |      x.__ne__(y) <==> x!=y
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T
    
    class fd(__builtin__.object)
     |  Methods defined here:
     |  
     |  Debug(...)
     |  
     |  Fopen(...)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T
    
    class fi(__builtin__.object)
     |  Methods defined here:
     |  
     |  BN(...)
     |  
     |  DC(...)
     |  
     |  DN(...)
     |  
     |  DX(...)
     |  
     |  Debug(...)
     |  
     |  FC(...)
     |  
     |  FClass(...)
     |  
     |  FColor(...)
     |  
     |  FFlags(...)
     |  
     |  FGroup(...)
     |  
     |  FLink(...)
     |  
     |  FMode(...)
     |  
     |  FMtime(...)
     |  
     |  FN(...)
     |  
     |  FRdev(...)
     |  
     |  FSize(...)
     |  
     |  FState(...)
     |  
     |  FUser(...)
     |  
     |  FX(...)
     |  
     |  MD5(...)
     |  
     |  VFlags(...)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __getitem__(...)
     |      x.__getitem__(y) <==> x[y]
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __len__(...)
     |      x.__len__() <==> len(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T
    
    class fts(__builtin__.object)
     |  Methods defined here:
     |  
     |  Debug(...)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  children(...)
     |  
     |  close(...)
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  open(...)
     |  
     |  read(...)
     |  
     |  set(...)
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __dict__ = <dictproxy object>
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T
     |  
     |  callbacks = <member 'callbacks' of 'rpm.fts' objects>
     |      Callback dictionary per fts_info state: FTS_{D|DC|DEFAULT|DNR|DOT|DP|ERR|F|INIT|NS|NSOK|SL|SLNONE|W}
     |  
     |  ignore = <member 'ignore' of 'rpm.fts' objects>
     |      Ignore bit(s): (1 << info) with info one of FTS_{D|DC|DEFAULT|DNR|DOT|DP|ERR|F|INIT|NS|NSOK|SL|SLNONE|W}
     |  
     |  options = <member 'options' of 'rpm.fts' objects>
     |      Option bit(s): FTS_{COMFOLLOW|LOGICAL|NOCHDIR|NOSTAT|PHYSICAL|SEEDOT|XDEV}
    
    class hdr(__builtin__.object)
     |  Methods defined here:
     |  
     |  __cmp__(...)
     |      x.__cmp__(y) <==> cmp(x,y)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __getitem__(...)
     |      x.__getitem__(y) <==> x[y]
     |  
     |  __hash__(...)
     |      x.__hash__() <==> hash(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  compressFilelist(...)
     |  
     |  dsFromHeader(...)
     |  
     |  dsOfHeader(...)
     |  
     |  expandFilelist(...)
     |  
     |  fiFromHeader(...)
     |  
     |  fullFilelist(...)
     |  
     |  keys(...)
     |  
     |  rhnUnload(...)
     |  
     |  sprintf(...)
     |  
     |  unload(...)
    
    class mi(__builtin__.object)
     |  Methods defined here:
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  count(...)
     |  
     |  instance(...)
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  pattern(...)
     |      mi.pattern(TagN, mire_type, pattern)
     |      - Set a secondary match pattern on tags from retrieved header.
    
    class ps(__builtin__.object)
     |  Methods defined here:
     |  
     |  Debug(...)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __delitem__(...)
     |      x.__delitem__(y) <==> del x[y]
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __getitem__(...)
     |      x.__getitem__(y) <==> x[y]
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __len__(...)
     |      x.__len__() <==> len(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  __setitem__(...)
     |      x.__setitem__(i, y) <==> x[i]=y
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T
    
    class rc(__builtin__.dict)
     |  Method resolution order:
     |      rc
     |      __builtin__.dict
     |      __builtin__.object
     |  
     |  Methods defined here:
     |  
     |  __cmp__(...)
     |      x.__cmp__(y) <==> cmp(x,y)
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __delitem__(...)
     |      x.__delitem__(y) <==> del x[y]
     |  
     |  __eq__(...)
     |      x.__eq__(y) <==> x==y
     |  
     |  __ge__(...)
     |      x.__ge__(y) <==> x>=y
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __getitem__(...)
     |      x.__getitem__(y) <==> x[y]
     |  
     |  __gt__(...)
     |      x.__gt__(y) <==> x>y
     |  
     |  __hash__(...)
     |      x.__hash__() <==> hash(x)
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __le__(...)
     |      x.__le__(y) <==> x<=y
     |  
     |  __len__(...)
     |      x.__len__() <==> len(x)
     |  
     |  __lt__(...)
     |      x.__lt__(y) <==> x<y
     |  
     |  __ne__(...)
     |      x.__ne__(y) <==> x!=y
     |  
     |  __repr__(...)
     |      x.__repr__() <==> repr(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  __setitem__(...)
     |      x.__setitem__(i, y) <==> x[i]=y
     |  
     |  addMacro(...)
     |  
     |  delMacro(...)
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T
     |  
     |  ----------------------------------------------------------------------
     |  Methods inherited from __builtin__.dict:
     |  
     |  __contains__(...)
     |      x.__contains__(y) <==> y in x
     |  
     |  clear(...)
     |      D.clear() -> None.  Remove all items from D.
     |  
     |  copy(...)
     |      D.copy() -> a shallow copy of D
     |  
     |  get(...)
     |      D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None.
     |  
     |  has_key(...)
     |      D.has_key(k) -> True if D has a key k, else False
     |  
     |  items(...)
     |      D.items() -> list of D's (key, value) pairs, as 2-tuples
     |  
     |  iteritems(...)
     |      D.iteritems() -> an iterator over the (key, value) items of D
     |  
     |  iterkeys(...)
     |      D.iterkeys() -> an iterator over the keys of D
     |  
     |  itervalues(...)
     |      D.itervalues() -> an iterator over the values of D
     |  
     |  keys(...)
     |      D.keys() -> list of D's keys
     |  
     |  pop(...)
     |      D.pop(k[,d]) -> v, remove specified key and return the corresponding value
     |      If key is not found, d is returned if given, otherwise KeyError is raised
     |  
     |  popitem(...)
     |      D.popitem() -> (k, v), remove and return some (key, value) pair as a
     |      2-tuple; but raise KeyError if D is empty
     |  
     |  setdefault(...)
     |      D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D
     |  
     |  update(...)
     |      D.update(E) -> None.  Update D from E: for k in E.keys(): D[k] = E[k]
     |  
     |  values(...)
     |      D.values() -> list of D's values
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from __builtin__.dict:
     |  
     |  fromkeys = <built-in method fromkeys of type object>
     |      dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v.
     |      v defaults to None.
    
    class spec(__builtin__.object)
     |  RPM Spec file object
     |  
     |  Methods defined here:
     |  
     |  build(...)
     |  
     |  buildRoot(...)
     |  
     |  clean(...)
     |  
     |  install(...)
     |  
     |  prep(...)
     |  
     |  sources(...)
    
    class te(__builtin__.object)
     |  Methods defined here:
     |  
     |  A(...)
     |      te.A() -> A
     |      - Return element arch.
     |  
     |  AddedKey(...)
     |  
     |  Color(...)
     |  
     |  DBOffset(...)
     |  
     |  DS(...)
     |      te.DS(TagN) -> DS
     |      - Return the TagN dependency set (or None). TagN is one of
     |              'Providename', 'Requirename', 'Obsoletename', 'Conflictname'
     |  
     |  Debug(...)
     |  
     |  Degree(...)
     |  
     |  DependsOnKey(...)
     |  
     |  Depth(...)
     |  
     |  E(...)
     |      te.E() -> E
     |      - Return element epoch.
     |  
     |  FI(...)
     |      te.FI(TagN) -> FI
     |      - Return the TagN dependency set (or None). TagN must be 'Basenames'.
     |  
     |  Key(...)
     |  
     |  N(...)
     |      te.N() -> N
     |      - Return element name.
     |  
     |  NEVR(...)
     |      te.NEVR() -> NEVR
     |      - Return element name-version-release.
     |  
     |  Npreds(...)
     |  
     |  O(...)
     |      te.O() -> O
     |      - Return element os.
     |  
     |  Parent(...)
     |  
     |  PkgFileSize(...)
     |  
     |  R(...)
     |      te.R() -> R
     |      - Return element release.
     |  
     |  Tree(...)
     |  
     |  Type(...)
     |      te.Type() -> Type
     |      - Return element type (rpm.TR_ADDED | rpm.TR_REMOVED).
     |  
     |  V(...)
     |      te.V() -> V
     |      - Return element version.
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
    
    class ts(__builtin__.object)
     |  Methods defined here:
     |  
     |  Debug(...)
     |  
     |  IDTXglob(...)
     |      ts.IDTXglob() -> ((tid,hdr,instance)+)
     |      - Return list of removed packages reverse sorted by transaction id.
     |  
     |  IDTXload(...)
     |      ts.IDTXload() -> ((tid,hdr,instance)+)
     |      - Return list of installed packages reverse sorted by transaction id.
     |  
     |  __delattr__(...)
     |      x.__delattr__('name') <==> del x.name
     |  
     |  __getattribute__(...)
     |      x.__getattribute__('name') <==> x.name
     |  
     |  __init__(...)
     |      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
     |  
     |  __iter__(...)
     |      x.__iter__() <==> iter(x)
     |  
     |  __setattr__(...)
     |      x.__setattr__('name', value) <==> x.name = value
     |  
     |  addErase(...)
     |  
     |  addInstall(...)
     |  
     |  check(...)
     |  
     |  clean(...)
     |  
     |  closeDB(...)
     |      ts.closeDB() -> None
     |      - Close the default transaction rpmdb.
     |        Note: ts.closeDB() disables lazy opens, and should hardly ever be used.
     |  
     |  dbMatch(...)
     |      ts.dbMatch([TagN, [key, [len]]]) -> mi
     |      - Create a match iterator for the default transaction rpmdb.
     |  
     |  getKeys(...)
     |  
     |  hdrCheck(...)
     |  
     |  hdrFromFdno(...)
     |      ts.hdrFromFdno(fdno) -> hdr
     |      - Read a package header from a file descriptor.
     |  
     |  initDB(...)
     |      ts.initDB() -> None
     |      - Initialize the default transaction rpmdb.
     |       Note: ts.initDB() is seldom needed anymore.
     |  
     |  next(...)
     |      x.next() -> the next value, or raise StopIteration
     |  
     |  openDB(...)
     |      ts.openDB() -> None
     |      - Open the default transaction rpmdb.
     |        Note: The transaction rpmdb is lazily opened, so ts.openDB() is seldom needed.
     |  
     |  order(...)
     |  
     |  parseSpec(...)
     |      ts.parseSpec("/path/to/foo.spec") -> spec
     |      - Parse a spec file.
     |  
     |  pgpImportPubkey(...)
     |  
     |  pgpPrtPkts(...)
     |  
     |  problems(...)
     |      ts.problems() -> ps
     |      - Return current problem set.
     |  
     |  rebuildDB(...)
     |      ts.rebuildDB() -> None
     |      - Rebuild the default transaction rpmdb.
     |  
     |  rollback(...)
     |  
     |  run(...)
     |      ts.run(callback, data) -> (problems)
     |      - Run a transaction set, returning list of problems found.
     |        Note: The callback may not be None.
     |  
     |  setColor(...)
     |  
     |  setFlags(...)
     |      ts.setFlags(transFlags) -> previous transFlags
     |      - Set control bit(s) for executing ts.run().
     |        Note: This method replaces the 1st argument to the old ts.run()
     |  
     |  setProbFilter(...)
     |      ts.setProbFilter(ignoreSet) -> previous ignoreSet
     |      - Set control bit(s) for ignoring problems found by ts.run().
     |        Note: This method replaces the 2nd argument to the old ts.run()
     |  
     |  setVSFlags(...)
     |      ts.setVSFlags(vsflags) -> ovsflags
     |      - Set signature verification flags. Values for vsflags are:
     |          rpm.RPMVSF_NOHDRCHK      if set, don't check rpmdb headers
     |          rpm.RPMVSF_NEEDPAYLOAD   if not set, check header+payload (if possible)
     |          rpm.RPMVSF_NOSHA1HEADER  if set, don't check header SHA1 digest
     |          rpm.RPMVSF_NODSAHEADER   if set, don't check header DSA signature
     |          rpm.RPMVSF_NOMD5         if set, don't check header+payload MD5 digest
     |          rpm.RPMVSF_NODSA         if set, don't check header+payload DSA signature
     |          rpm.RPMVSF_NORSA         if set, don't check header+payload RSA signature
     |          rpm._RPMVSF_NODIGESTS    if set, don't check digest(s)
     |          rpm._RPMVSF_NOSIGNATURES if set, don't check signature(s)
     |  
     |  verifyDB(...)
     |      ts.verifyDB() -> None
     |      - Verify the default transaction rpmdb.
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  __new__ = <built-in method __new__ of type object>
     |      T.__new__(S, ...) -> a new object with type S, a subtype of T

FUNCTIONS
    TransactionSet(...)
        rpm.TransactionSet([rootDir, [db]]) -> ts
        - Create a transaction set.
    
    addMacro(...)
    
    archscore(...)
    
    delMacro(...)
    
    dsSingle(...)
        rpm.dsSingle(TagN, N, [EVR, [Flags]] -> ds
        - Create a single element dependency set.
    
    headerLoad(...)
    
    labelCompare(...)
    
    mergeHeaderListFromFD(...)
    
    newrc(...)
    
    readHeaderFromFD(...)
    
    readHeaderListFromFD(...)
    
    readHeaderListFromFile(...)
    
    rhnLoad(...)
    
    setEpochPromote(...)
    
    setLogFile(...)
    
    setStats(...)
    
    setVerbosity(...)
    
    versionCompare(...)

DATA
    RPMAL_NOMATCH = -1
    RPMCALLBACK_CPIO_ERROR = 16384
    RPMCALLBACK_INST_CLOSE_FILE = 8
    RPMCALLBACK_INST_OPEN_FILE = 4
    RPMCALLBACK_INST_PROGRESS = 1
    RPMCALLBACK_INST_START = 2
    RPMCALLBACK_REPACKAGE_PROGRESS = 1024
    RPMCALLBACK_REPACKAGE_START = 2048
    RPMCALLBACK_REPACKAGE_STOP = 4096
    RPMCALLBACK_TRANS_PROGRESS = 16
    RPMCALLBACK_TRANS_START = 32
    RPMCALLBACK_TRANS_STOP = 64
    RPMCALLBACK_UNINST_PROGRESS = 128
    RPMCALLBACK_UNINST_START = 256
    RPMCALLBACK_UNINST_STOP = 512
    RPMCALLBACK_UNKNOWN = 0
    RPMCALLBACK_UNPACK_ERROR = 8192
    RPMDBI_PACKAGES = 0
    RPMDEP_SENSE_CONFLICTS = 1
    RPMDEP_SENSE_REQUIRES = 0
    RPMFILE_CONFIG = 1
    RPMFILE_DOC = 2
    RPMFILE_EXCLUDE = 512
    RPMFILE_GHOST = 64
    RPMFILE_ICON = 4
    RPMFILE_LICENSE = 128
    RPMFILE_MISSINGOK = 8
    RPMFILE_NOREPLACE = 16
    RPMFILE_PUBKEY = 2048
    RPMFILE_README = 256
    RPMFILE_STATE_NETSHARED = 3
    RPMFILE_STATE_NORMAL = 0
    RPMFILE_STATE_NOTINSTALLED = 2
    RPMFILE_STATE_REPLACED = 1
    RPMFILE_STATE_WRONGCOLOR = 4
    RPMFILE_UNPATCHED = 1024
    RPMLOG_ALERT = 1
    RPMLOG_CRIT = 2
    RPMLOG_DEBUG = 7
    RPMLOG_EMERG = 0
    RPMLOG_ERR = 3
    RPMLOG_INFO = 6
    RPMLOG_NOTICE = 5
    RPMLOG_WARNING = 4
    RPMMIRE_DEFAULT = 0
    RPMMIRE_GLOB = 3
    RPMMIRE_REGEX = 2
    RPMMIRE_STRCMP = 1
    RPMPROB_BADARCH = 0
    RPMPROB_BADOS = 1
    RPMPROB_BADPRETRANS = 11
    RPMPROB_BADRELOCATE = 3
    RPMPROB_CONFLICT = 5
    RPMPROB_DISKNODES = 10
    RPMPROB_DISKSPACE = 9
    RPMPROB_FILE_CONFLICT = 7
    RPMPROB_FILTER_DISKNODES = 256
    RPMPROB_FILTER_DISKSPACE = 128
    RPMPROB_FILTER_FORCERELOCATE = 8
    RPMPROB_FILTER_IGNOREARCH = 2
    RPMPROB_FILTER_IGNOREOS = 1
    RPMPROB_FILTER_OLDPACKAGE = 64
    RPMPROB_FILTER_REPLACENEWFILES = 16
    RPMPROB_FILTER_REPLACEOLDFILES = 32
    RPMPROB_FILTER_REPLACEPKG = 4
    RPMPROB_NEW_FILE_CONFLICT = 6
    RPMPROB_OLDPACKAGE = 8
    RPMPROB_PKG_INSTALLED = 2
    RPMPROB_REQUIRES = 4
    RPMSENSE_CONFIG = 268435456
    RPMSENSE_EQUAL = 8
    RPMSENSE_FIND_PROVIDES = 32768
    RPMSENSE_FIND_REQUIRES = 16384
    RPMSENSE_GREATER = 4
    RPMSENSE_INTERP = 256
    RPMSENSE_KEYRING = 67108864
    RPMSENSE_LESS = 2
    RPMSENSE_PATCHES = 134217728
    RPMSENSE_PREREQ = 0
    RPMSENSE_RPMLIB = 16777216
    RPMSENSE_SCRIPT_BUILD = 2097152
    RPMSENSE_SCRIPT_CLEAN = 8388608
    RPMSENSE_SCRIPT_INSTALL = 4194304
    RPMSENSE_SCRIPT_POST = 1024
    RPMSENSE_SCRIPT_POSTUN = 4096
    RPMSENSE_SCRIPT_PRE = 512
    RPMSENSE_SCRIPT_PREP = 1048576
    RPMSENSE_SCRIPT_PREUN = 2048
    RPMSENSE_SCRIPT_VERIFY = 8192
    RPMSENSE_SERIAL = 1
    RPMSENSE_TRIGGERIN = 65536
    RPMSENSE_TRIGGERPOSTUN = 262144
    RPMSENSE_TRIGGERPREIN = 33554432
    RPMSENSE_TRIGGERUN = 131072
    RPMTAG_ARCH = 1022
    RPMTAG_ARCHIVESIZE = 1046
    RPMTAG_BASENAMES = 1117
    RPMTAG_BUILDARCHS = 1089
    RPMTAG_BUILDHOST = 1007
    RPMTAG_BUILDTIME = 1006
    RPMTAG_C = 1054
    RPMTAG_CACHECTIME = 1136
    RPMTAG_CACHEPKGMTIME = 1139
    RPMTAG_CACHEPKGPATH = 1137
    RPMTAG_CACHEPKGSIZE = 1138
    RPMTAG_CHANGELOGNAME = 1081
    RPMTAG_CHANGELOGTEXT = 1082
    RPMTAG_CHANGELOGTIME = 1080
    RPMTAG_CLASSDICT = 1142
    RPMTAG_CONFLICTFLAGS = 1053
    RPMTAG_CONFLICTNAME = 1054
    RPMTAG_CONFLICTS = 1054
    RPMTAG_CONFLICTVERSION = 1055
    RPMTAG_COOKIE = 1094
    RPMTAG_COPYRIGHT = 1014
    RPMTAG_D = 1049
    RPMTAG_DEPENDSDICT = 1145
    RPMTAG_DESCRIPTION = <PyCObject object>
    RPMTAG_DIRINDEXES = 1116
    RPMTAG_DIRNAMES = 1118
    RPMTAG_DISTRIBUTION = 1010
    RPMTAG_DISTTAG = 1155
    RPMTAG_DISTURL = 1123
    RPMTAG_DSAHEADER = 267
    RPMTAG_E = 1003
    RPMTAG_ENHANCESFLAGS = 1161
    RPMTAG_ENHANCESNAME = 1159
    RPMTAG_ENHANCESVERSION = 1160
    RPMTAG_EPOCH = 1003
    RPMTAG_EXCLUDEARCH = 1059
    RPMTAG_EXCLUDEOS = 1060
    RPMTAG_EXCLUSIVEARCH = 1061
    RPMTAG_EXCLUSIVEOS = 1062
    RPMTAG_FILECLASS = <PyCObject object>
    RPMTAG_FILECOLORS = 1140
    RPMTAG_FILECONTEXTS = <PyCObject object>
    RPMTAG_FILEDEPENDSN = 1144
    RPMTAG_FILEDEPENDSX = 1143
    RPMTAG_FILEDEVICES = 1095
    RPMTAG_FILEFLAGS = 1037
    RPMTAG_FILEGROUPNAME = 1040
    RPMTAG_FILEINODES = 1096
    RPMTAG_FILELANGS = 1097
    RPMTAG_FILELINKTOS = 1036
    RPMTAG_FILEMD5S = 1035
    RPMTAG_FILEMODES = 1030
    RPMTAG_FILEMTIMES = 1034
    RPMTAG_FILENAMES = <PyCObject object>
    RPMTAG_FILEPROVIDE = <PyCObject object>
    RPMTAG_FILERDEVS = 1033
    RPMTAG_FILEREQUIRE = <PyCObject object>
    RPMTAG_FILESIZES = 1028
    RPMTAG_FILESTATES = 1029
    RPMTAG_FILEUSERNAME = 1039
    RPMTAG_FILEVERIFYFLAGS = 1045
    RPMTAG_FSCONTEXTS = <PyCObject object>
    RPMTAG_FSNAMES = <PyCObject object>
    RPMTAG_FSSIZES = <PyCObject object>
    RPMTAG_GIF = 1012
    RPMTAG_GROUP = <PyCObject object>
    RPMTAG_HDRID = 269
    RPMTAG_HEADERI18NTABLE = 100
    RPMTAG_HEADERIMAGE = 61
    RPMTAG_HEADERIMMUTABLE = 63
    RPMTAG_HEADERREGIONS = 64
    RPMTAG_HEADERSIGNATURES = 62
    RPMTAG_ICON = 1043
    RPMTAG_INSTALLCOLOR = 1127
    RPMTAG_INSTALLPREFIX = <PyCObject object>
    RPMTAG_INSTALLTID = 1128
    RPMTAG_INSTALLTIME = 1008
    RPMTAG_INSTPREFIXES = 1099
    RPMTAG_LICENSE = 1014
    RPMTAG_N = 1000
    RPMTAG_NAME = 1000
    RPMTAG_O = 1090
    RPMTAG_OBSOLETEFLAGS = 1114
    RPMTAG_OBSOLETENAME = 1090
    RPMTAG_OBSOLETES = 1090
    RPMTAG_OBSOLETEVERSION = 1115
    RPMTAG_OLDFILENAMES = 1027
    RPMTAG_OPTFLAGS = 1122
    RPMTAG_OS = 1021
    RPMTAG_P = 1047
    RPMTAG_PACKAGER = 1015
    RPMTAG_PATCH = 1019
    RPMTAG_PATCHESFLAGS = 1134
    RPMTAG_PATCHESNAME = 1133
    RPMTAG_PATCHESVERSION = 1135
    RPMTAG_PAYLOADCOMPRESSOR = 1125
    RPMTAG_PAYLOADFLAGS = 1126
    RPMTAG_PAYLOADFORMAT = 1124
    RPMTAG_PKGID = 261
    RPMTAG_PLATFORM = 1132
    RPMTAG_POLICIES = 1150
    RPMTAG_POSTIN = 1024
    RPMTAG_POSTINPROG = 1086
    RPMTAG_POSTTRANS = 1152
    RPMTAG_POSTTRANSPROG = 1154
    RPMTAG_POSTUN = 1026
    RPMTAG_POSTUNPROG = 1088
    RPMTAG_PREFIXES = 1098
    RPMTAG_PREIN = 1023
    RPMTAG_PREINPROG = 1085
    RPMTAG_PRETRANS = 1151
    RPMTAG_PRETRANSPROG = 1153
    RPMTAG_PREUN = 1025
    RPMTAG_PREUNPROG = 1087
    RPMTAG_PRIORITY = 1162
    RPMTAG_PROVIDEFLAGS = 1112
    RPMTAG_PROVIDENAME = 1047
    RPMTAG_PROVIDES = 1047
    RPMTAG_PROVIDEVERSION = 1113
    RPMTAG_PUBKEYS = 266
    RPMTAG_R = 1002
    RPMTAG_RECONTEXTS = <PyCObject object>
    RPMTAG_RELEASE = 1002
    RPMTAG_REMOVETID = 1129
    RPMTAG_REQUIREFLAGS = 1048
    RPMTAG_REQUIRENAME = 1049
    RPMTAG_REQUIRES = 1049
    RPMTAG_REQUIREVERSION = 1050
    RPMTAG_RHNPLATFORM = 1131
    RPMTAG_RPMVERSION = 1064
    RPMTAG_RSAHEADER = 268
    RPMTAG_SERIAL = 1003
    RPMTAG_SHA1HEADER = 269
    RPMTAG_SIGGPG = 262
    RPMTAG_SIGMD5 = 261
    RPMTAG_SIGPGP = 259
    RPMTAG_SIGSIZE = 257
    RPMTAG_SIZE = 1009
    RPMTAG_SOURCE = 1018
    RPMTAG_SOURCEPACKAGE = 1106
    RPMTAG_SOURCEPKGID = 1146
    RPMTAG_SOURCERPM = 1044
    RPMTAG_SUGGESTSFLAGS = 1158
    RPMTAG_SUGGESTSNAME = 1156
    RPMTAG_SUGGESTSVERSION = 1157
    RPMTAG_SUMMARY = <PyCObject object>
    RPMTAG_TRIGGERCONDS = <PyCObject object>
    RPMTAG_TRIGGERFLAGS = 1068
    RPMTAG_TRIGGERINDEX = 1069
    RPMTAG_TRIGGERNAME = 1066
    RPMTAG_TRIGGERSCRIPTPROG = 1092
    RPMTAG_TRIGGERSCRIPTS = 1065
    RPMTAG_TRIGGERTYPE = <PyCObject object>
    RPMTAG_TRIGGERVERSION = 1067
    RPMTAG_URL = 1020
    RPMTAG_V = 1001
    RPMTAG_VENDOR = 1011
    RPMTAG_VERIFYSCRIPT = 1079
    RPMTAG_VERIFYSCRIPTPROG = 1091
    RPMTAG_VERSION = 1001
    RPMTAG_XPM = 1013
    RPMTRANS_FLAG_ADDINDEPS = 536870912
    RPMTRANS_FLAG_ALLFILES = 64
    RPMTRANS_FLAG_ANACONDA = 67108864
    RPMTRANS_FLAG_BUILD_PROBS = 2
    RPMTRANS_FLAG_JUSTDB = 8
    RPMTRANS_FLAG_KEEPOBSOLETE = 128
    RPMTRANS_FLAG_NOCONFIGS = 1073741824
    RPMTRANS_FLAG_NODOCS = 32
    RPMTRANS_FLAG_NOMD5 = 134217728
    RPMTRANS_FLAG_NOPOST = 262144
    RPMTRANS_FLAG_NOPOSTUN = 4194304
    RPMTRANS_FLAG_NOPRE = 131072
    RPMTRANS_FLAG_NOPREUN = 2097152
    RPMTRANS_FLAG_NOSCRIPTS = 4
    RPMTRANS_FLAG_NOSUGGEST = 268435456
    RPMTRANS_FLAG_NOTRIGGERIN = 524288
    RPMTRANS_FLAG_NOTRIGGERPOSTUN = 8388608
    RPMTRANS_FLAG_NOTRIGGERPREIN = 65536
    RPMTRANS_FLAG_NOTRIGGERS = 16
    RPMTRANS_FLAG_NOTRIGGERUN = 1048576
    RPMTRANS_FLAG_REPACKAGE = 1024
    RPMTRANS_FLAG_REVERSE = 32768
    RPMTRANS_FLAG_TEST = 1
    RPMVSF_DEFAULT = 0
    RPMVSF_NEEDPAYLOAD = 2
    RPMVSF_NODSA = 262144
    RPMVSF_NODSAHEADER = 1024
    RPMVSF_NOHDRCHK = 1
    RPMVSF_NOMD5 = 131072
    RPMVSF_NOMD5HEADER = 512
    RPMVSF_NORSA = 524288
    RPMVSF_NORSAHEADER = 2048
    RPMVSF_NOSHA1 = 65536
    RPMVSF_NOSHA1HEADER = 256
    TR_ADDED = 1
    TR_REMOVED = 2
    VERIFY_DIGEST = 524288
    VERIFY_SIGNATURE = 1048576
    tagnames = {61: 'HEADERIMAGE', 62: 'HEADERSIGNATURES', 63: 'HEADERIMMU...



--AhhlLboLdkugWU4S
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Rpm-python-list mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/rpm-python-list

--AhhlLboLdkugWU4S--