summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-04-27 14:21:47 -0700
committerZac Medico <zmedico@gentoo.org>2010-04-27 14:21:47 -0700
commit394aa7860c7e998fa491470f2cf068ca3eeccb9b (patch)
treeb0ce2e39f473348228532bde9758d2ce00c42ea4
parentfa25599654c32a6c72810fda98b9c665a673f12e (diff)
downloadportage-394aa7860c7e998fa491470f2cf068ca3eeccb9b.tar.gz
portage-394aa7860c7e998fa491470f2cf068ca3eeccb9b.tar.bz2
portage-394aa7860c7e998fa491470f2cf068ca3eeccb9b.zip
Make iuse_implicit_re private for now.
-rw-r--r--pym/_emerge/depgraph.py2
-rw-r--r--pym/portage/dbapi/__init__.py2
-rw-r--r--pym/portage/package/ebuild/config.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 4214abdfc..385d18b1d 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2462,7 +2462,7 @@ class depgraph(object):
if atom.use:
for x in atom.use.required:
if x not in pkg.iuse.all and \
- pkg.root_config.settings.iuse_implicit_re.match(x) is None:
+ pkg.root_config.settings._iuse_implicit_re.match(x) is None:
missing_iuse = True
break
if missing_iuse:
diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py
index f8fe89769..2467cb54e 100644
--- a/pym/portage/dbapi/__init__.py
+++ b/pym/portage/dbapi/__init__.py
@@ -146,7 +146,7 @@ class dbapi(object):
2) Check enabled/disabled flag states.
"""
- iuse_implicit_re = self.settings.iuse_implicit_re
+ iuse_implicit_re = self.settings._iuse_implicit_re
for cpv in cpv_iter:
try:
iuse, slot, use = self.aux_get(cpv, ["IUSE", "SLOT", "USE"])
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index 239eced4a..30035e6fd 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -371,6 +371,7 @@ class config(object):
self.packages = clone.packages
self.useforce_list = clone.useforce_list
self.usemask_list = clone.usemask_list
+ self._iuse_implicit_re = clone._iuse_implicit_re
self.user_profile_dir = copy.deepcopy(clone.user_profile_dir)
self.local_config = copy.deepcopy(clone.local_config)
@@ -427,7 +428,6 @@ class config(object):
self._accept_properties = copy.deepcopy(clone._accept_properties)
self._ppropertiesdict = copy.deepcopy(clone._ppropertiesdict)
- self.iuse_implicit_re = clone.iuse_implicit_re
else:
def check_var_directory(varname, var):
@@ -1013,7 +1013,7 @@ class config(object):
_validate_cache_for_unsupported_eapis = False
_glep_55_enabled = True
- self.iuse_implicit_re = re.compile("^(%s)$" % \
+ self._iuse_implicit_re = re.compile("^(%s)$" % \
"|".join(self._get_implicit_iuse()))
for k in self._case_insensitive_vars: