diff options
author | 2015-02-14 02:39:34 -0500 | |
---|---|---|
committer | 2015-02-14 02:41:47 -0500 | |
commit | 312123862f87db996fd33054a15abe31b464291d (patch) | |
tree | fdbee86f1c59762eec94635a205fbc6df8a6f9f9 | |
parent | vdb: sort all sortable attrs when writing to disk (diff) | |
download | pkgcore-312123862f87db996fd33054a15abe31b464291d.tar.gz pkgcore-312123862f87db996fd33054a15abe31b464291d.tar.bz2 pkgcore-312123862f87db996fd33054a15abe31b464291d.zip |
ebuild/repository: drop unnecessary sorting of iuse_effective
We do that later when writing to the vdb.
-rw-r--r-- | pkgcore/ebuild/repository.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgcore/ebuild/repository.py b/pkgcore/ebuild/repository.py index 27db78c7f..a8dab9716 100644 --- a/pkgcore/ebuild/repository.py +++ b/pkgcore/ebuild/repository.py @@ -587,7 +587,6 @@ class _ConfiguredTree(configured.tree): # EAPI 5 and above allow profile defined IUSE injection (see PMS) if pkg.eapi_obj.options.profile_iuse_injection: iuse_effective.extend(profile.iuse_implicit) - for v in profile.use_expand_implicit.intersection(profile.use_expand_unprefixed): iuse_effective.extend(profile.default_env.get("USE_EXPAND_VALUES_" + v, "").split()) for v in profile.use_expand.intersection(profile.use_expand_implicit): @@ -597,7 +596,7 @@ class _ConfiguredTree(configured.tree): iuse_effective.extend(pkg.repo.config.known_arches) iuse_effective.extend(x.lower() + "_.*" for x in profile.use_expand) - return tuple(sorted(set(iuse_effective))) + return frozenset(iuse_effective) def _get_delayed_immutable(self, pkg, immutable): return InvertedContains(pkg.iuse.difference(immutable)) |