Beispiel #1
0
 def __init__(self, filename, filelistsname, baseurl):
     Loader.__init__(self)
     self._filename = filename
     self._filelistsname = filelistsname
     self._baseurl = baseurl
     self._fileprovides = {}
     self._pkgids = {}
Beispiel #2
0
 def __init__(self, filename, filelistsname, baseurl):
     Loader.__init__(self)
     self._filename = filename
     self._filelistsname = filelistsname
     self._baseurl = baseurl
     self._fileprovides = {}
     self._pkgids = {}
 def __init__(self, filename, baseurl, listfile, infofile=None):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._prefix = {}
     self._infofile = infofile
     self._flagdict = None
Beispiel #4
0
 def __init__(self, filename, baseurl, listfile, infofile=None):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._prefix = {}
     self._infofile = infofile
     self._flagdict = None
Beispiel #5
0
 def __init__(self, filename, baseurl, listfile):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._prefix = {}
     if listfile:
         for entry in open(listfile):
             if entry[:2] == "./":
                 entry = entry[2:]
             dirname, basename = os.path.split(entry.rstrip())
             self._prefix[basename] = dirname
 def buildPackage(self, pkgargs, prvargs, reqargs, upgargs, cnfargs):
     pkg = Loader.buildPackage(self, pkgargs, prvargs, reqargs, upgargs, cnfargs)
     name = pkgargs[1]
     if hasattr(self, '_flagdict') and self._flagdict and name in self._flagdict:
         if not sysconf.getReadOnly():
             pkgconf.setFlag(self._flagdict[name], name, "=", pkgargs[2])
     return pkg
Beispiel #7
0
 def buildPackage(self, pkgargs, prvargs, reqargs, upgargs, cnfargs, recargs):
     pkg = Loader.buildPackage(self, pkgargs, prvargs, reqargs, upgargs, cnfargs, recargs)
     name = pkgargs[1]
     if hasattr(self, '_flagdict') and self._flagdict and name in self._flagdict:
         if sysconf.getReadOnly():
             pkgconf.setFlag(self._flagdict[name], name, "=", pkgargs[2])
     return pkg
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._md5sums = {}
     self._baseurl = baseurl
Beispiel #9
0
 def __init__(self, filename, baseurl, filelistname):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._filelistname = filelistname
Beispiel #10
0
 def reset(self):
     Loader.reset(self)
     self._fileprovides.clear()
Beispiel #11
0
 def __init__(self):
     Loader.__init__(self)
Beispiel #12
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
Beispiel #13
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
     self._sections = {}
Beispiel #14
0
 def fetch(self, fetcher, progress):
     self._loaders.append(Loader())
Beispiel #15
0
 def reset(self):
     Loader.reset(self)
     self._fileprovides.clear()
     self._parsedflist = False
     self._pkgids.clear()
 def reset(self):
     Loader.reset(self)
     self._fileprovides.clear()
Beispiel #17
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
 def reset(self):
     Loader.reset(self)
     self._offsets.clear()
     self._groups.clear()
 def __init__(self):
     Loader.__init__(self)
     self._infoorder = 0
     self._offsets = {}
     self._groups = {}
Beispiel #20
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
     self._sections = {}
Beispiel #21
0
 def reset(self):
     Loader.reset(self)
Beispiel #22
0
 def __init__(self, filename, baseurl, filelistname):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._filelistname = filelistname
Beispiel #23
0
 def reset(self):
     Loader.reset(self)
Beispiel #24
0
 def __init__(self):
     Loader.__init__(self)
     self._infoorder = 0
     self._offsets = {}
     self._groups = {}
Beispiel #25
0
 def __init__(self, baseurl, datadir, pkginfofile, pkgdescfile=None):
     Loader.__init__(self)
     self._baseurl = baseurl
     self._datadir = datadir
     self._pkginfofile = pkginfofile
     self._pkgdescfile = pkgdescfile
Beispiel #26
0
 def reset(self):
     Loader.reset(self)
     self._offsets.clear()
     self._groups.clear()