From 2df06cb95c1f97a470034bf2be73869256633685 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 17 Jul 2012 16:52:48 -0700 Subject: move: respect EAPI wrt dots_in_PN, bug #426476 --- pym/portage/dbapi/vartree.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pym/portage/dbapi/vartree.py') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 264790a03..0ae7dc54b 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -330,7 +330,10 @@ class vardbapi(dbapi): # Ignore PROVIDE virtual match. continue if repo_match is not None \ - and not repo_match(self.aux_get(mycpv, ['repository'])[0]): + and not repo_match(mycpv.repo): + continue + eapi_attrs = _get_eapi_attrs(mycpv.eapi) + if not eapi_attrs.dots_in_PN and "." in catsplit(newcp)[1]: continue mynewcpv = mycpv.replace(mycpv_cp, str(newcp), 1) mynewcat = catsplit(newcp)[0] -- cgit v1.2.3-1-g7c22