cpv = "%s/%s" % (self.mycat, self.mypkg)
settings = self.settings
if cpv != settings.mycpv or \
- "IUSE" not in settings.configdict["pkg"]:
+ "EAPI" not in settings.configdict["pkg"]:
settings.reload()
settings.reset()
settings.setcpv(cpv, mydb=self.mydbapi)
break
if self.mycpv != self.settings.mycpv or \
- "SLOT" not in self.settings.configdict["pkg"]:
+ "EAPI" not in self.settings.configdict["pkg"]:
# We avoid a redundant setcpv call here when
# the caller has already taken care of it.
self.settings.setcpv(self.mycpv, mydb=self.vartree.dbapi)
# call would lead to infinite 'depend' phase recursion.
mysettings.setcpv(mycpv)
else:
- # If IUSE isn't in configdict['pkg'], it means that setcpv()
+ # If EAPI isn't in configdict["pkg"], it means that setcpv()
# hasn't been called with the mydb argument, so we have to
# call it here (portage code always calls setcpv properly,
# but api consumers might not).
if mycpv != mysettings.mycpv or \
- 'IUSE' not in mysettings.configdict['pkg']:
+ "EAPI" not in mysettings.configdict["pkg"]:
# Reload env.d variables and reset any previous settings.
mysettings.reload()
mysettings.reset()