From 27dbcfdd5cd285c8b40808ff0f791b25b6f1f3cd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Oct 2012 21:58:08 -0700 Subject: [PATCH] config.setcpv: use constructed _pkg_str for mycpv --- pym/portage/package/ebuild/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = [] -- 2.26.2