From: Zac Medico Date: Thu, 18 Oct 2012 04:58:08 +0000 (-0700) Subject: config.setcpv: use constructed _pkg_str for mycpv X-Git-Tag: v2.2.0_alpha141~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=27dbcfdd5cd285c8b40808ff0f791b25b6f1f3cd;p=portage.git config.setcpv: use constructed _pkg_str for mycpv --- diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 9353b1521..45a3351a9 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -1312,8 +1312,9 @@ class config(object): pkg_configdict["PORTAGE_REPO_NAME"] = repository iuse = pkg_configdict["IUSE"] if pkg is None: - cpv_slot = _pkg_str(self.mycpv, metadata=pkg_configdict, + self.mycpv = _pkg_str(self.mycpv, metadata=pkg_configdict, settings=self) + cpv_slot = self.mycpv else: cpv_slot = pkg pkginternaluse = []