def split_cpv(self, cpv): try: cpv = portage.dep_getcpv(cpv) except portage.exception.InvalidAtom: pass return portage.catpkgsplit(cpv)
def split_cpv (self, cpv): try: cpv = portage.dep_getcpv(cpv) except portage.exception.InvalidAtom: pass return portage.catpkgsplit(cpv)
use=portage.settings["USE"].split() myuse=portage.settings["BOOTSTRAP_USE"].split() for x in use: if x in alloweduse: myuse.append(x) for y in alloweduse_startswith: if x.startswith(y): myuse.append(x) break for dep in portage.settings.packages: if dep[0] == "*": dep = dep[1:] catpkg=portage.dep_getcpv(dep) split=portage.catpkgsplit(catpkg) if split != None: pkgdict[split[1]]=dep else: pkgdict[catpkg.split("/")[1]]=dep pkglist = ["texinfo", "gettext", "binutils", "gcc", "glibc", "baselayout", "zlib", "shadow" ] #, "perl", "python", "libtool" ] # perl needs an interim remerge so it references the new CHOST in Config.pm, although this has been fixed in funtoo. # python needs a remerge so it references the new CHOST in its installed Makefile in /usr/lib/pythonx.y. # libtool refernces the old CHOST so it seems like a good idea to remerge as well. This is all good stuff # when we are using a non-native stage1. Not necessary when using a native stage1.