aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@chromium.org>2014-09-30 09:45:36 -0700
committerZac Medico <zmedico@gentoo.org>2014-10-24 13:39:10 -0700
commit803dafc462027d6015721f40513abb5f57dc1178 (patch)
tree0d5056e0d07f6c16f4e0ed45bd83ab4b060d16eb /pym/portage/repository/config.py
parentAdd profile-formats to profile_complex (diff)
downloadportage-803dafc462027d6015721f40513abb5f57dc1178.tar.gz
portage-803dafc462027d6015721f40513abb5f57dc1178.tar.bz2
portage-803dafc462027d6015721f40513abb5f57dc1178.zip
package.bashrc: per profile, per-package bashrc mechanism
Profiles can define per-package bashrc files to be sourced before emerging. Each line in package.bashrc must be an atom name then a list of space-delimited bashrc files (stored in $profile/bashrc/).
Diffstat (limited to 'pym/portage/repository/config.py')
-rw-r--r--pym/portage/repository/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 5e0d05523..bef643df3 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -40,7 +40,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'])
+ ['pms', 'portage-1', 'portage-2', 'profile-bashrcs'])
_portage1_profiles_allow_directories = frozenset(
["portage-1-compat", "portage-1", 'portage-2'])