diff options
authorZac Medico <zmedico@gentoo.org>2014-12-09 19:19:17 -0800
committerZac Medico <zmedico@gentoo.org>2014-12-11 00:05:40 -0800
commit28828655da860324861af9adea0794a0a61196bf (patch)
tree66a47285d8742cf7b33788d921eddcad0bc50648 /pym/portage/repository/config.py
parentSort PORTAGE_ARCHLIST. (diff)
Support @profile package set for bug #532224
Add support for a new @profile set which allows the profile to pull in additional packages that do not belong to the @system set. The motivation to have @profile separate from @system is that @system packages may have incomplete dependency specifications (due to long-standing Gentoo policy), and incomplete dependency specifications have deleterious effects on the ability of emerge --jobs to parallelize builds. So, unlike @system, packages added to @profile do not hurt emerge --jobs parallelization. Packages are added to the @profile set in the same way that they are added to the @system set, except that atoms in the @profile set are not preceded with a '*' character. Also, the @profile package set is only supported when 'profile-set' is listed in the layout.conf profile-formats field of the containing repository. X-Gentoo-Bug: 532224 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=532224 Acked-by: Alexander Berntsen <bernalex@gentoo.org>
Diffstat (limited to 'pym/portage/repository/config.py')
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index f45684b89..9096d7373 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -41,7 +41,7 @@ if sys.hexversion >= 0x3000000:
_invalid_path_char_re = re.compile(r'[^a-zA-Z0-9._\-+:/]')
_valid_profile_formats = frozenset(
- ['pms', 'portage-1', 'portage-2', 'profile-bashrcs'])
+ ['pms', 'portage-1', 'portage-2', 'profile-bashrcs', 'profile-set'])
_portage1_profiles_allow_directories = frozenset(
["portage-1-compat", "portage-1", 'portage-2'])