since PORTAGE_RESTRICT is calculated by config.setcpv() now. (trunk r13575)
svn path=/main/branches/2.1.6/; revision=13576
ebuild_path = portdb.findname(pkg.cpv)
settings.setcpv(pkg)
debug = settings.get("PORTAGE_DEBUG") == "1"
- use_cache = 1 # always true
- portage.doebuild_environment(ebuild_path, "fetch",
- settings["ROOT"], settings, debug, use_cache, portdb)
restrict_fetch = 'fetch' in settings['PORTAGE_RESTRICT'].split()
if restrict_fetch: