Esempio n. 1
0
 def __init__(self, filename, filelistsname, baseurl):
     Loader.__init__(self)
     self._filename = filename
     self._filelistsname = filelistsname
     self._baseurl = baseurl
     self._fileprovides = {}
     self._pkgids = {}
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 8
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._md5sums = {}
     self._baseurl = baseurl
Esempio n. 9
0
 def __init__(self, filename, baseurl, filelistname):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._filelistname = filelistname
Esempio n. 10
0
 def reset(self):
     Loader.reset(self)
     self._fileprovides.clear()
Esempio n. 11
0
 def __init__(self):
     Loader.__init__(self)
Esempio n. 12
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
Esempio n. 13
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
     self._sections = {}
Esempio n. 14
0
 def fetch(self, fetcher, progress):
     self._loaders.append(Loader())
Esempio n. 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()
Esempio n. 17
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
Esempio n. 18
0
 def reset(self):
     Loader.reset(self)
     self._offsets.clear()
     self._groups.clear()
Esempio n. 19
0
 def __init__(self):
     Loader.__init__(self)
     self._infoorder = 0
     self._offsets = {}
     self._groups = {}
Esempio n. 20
0
 def __init__(self, baseurl=None):
     Loader.__init__(self)
     self._baseurl = baseurl
     self._sections = {}
Esempio n. 21
0
 def reset(self):
     Loader.reset(self)
Esempio n. 22
0
 def __init__(self, filename, baseurl, filelistname):
     Loader.__init__(self)
     self._filename = filename
     self._baseurl = baseurl
     self._filelistname = filelistname
Esempio n. 23
0
 def reset(self):
     Loader.reset(self)
Esempio n. 24
0
 def __init__(self):
     Loader.__init__(self)
     self._infoorder = 0
     self._offsets = {}
     self._groups = {}
Esempio n. 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
Esempio n. 26
0
 def reset(self):
     Loader.reset(self)
     self._offsets.clear()
     self._groups.clear()