commit: 4b3881ad0037354fb403d77a2964d53b85c21d08
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Tue Dec 12 22:00:25 2023 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Fri Nov 21 23:56:21 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=4b3881ad
rename domain.system_profile to system_shell_profile
This loads /etc/profile.env ; naming it 'system_profile' is
too close to implying it's /etc/make.profile , thus the rename.
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
src/pkgcore/ebuild/domain.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pkgcore/ebuild/domain.py b/src/pkgcore/ebuild/domain.py
index 9c1dfb65..a18186e1 100644
--- a/src/pkgcore/ebuild/domain.py
+++ b/src/pkgcore/ebuild/domain.py
@@ -299,7 +299,7 @@ class domain(config_domain):
self._settings = ProtectedDict(settings)
@load_property("/etc/profile.env", read_func=read_bash_dict)
- def system_profile(self, data):
+ def system_shell_profile(self, data):
# prepend system profile $PATH if it exists
if "PATH" in data:
path = stable_unique(
@@ -321,7 +321,7 @@ class domain(config_domain):
# reformat env.d and make.conf incrementals
system_profile_settings = {}
for x in INCREMENTALS:
- system_profile_val = self.system_profile.get(x, ())
+ system_profile_val = self.system_shell_profile.get(x, ())
make_conf_val = settings.get(x, ())
if isinstance(system_profile_val, str):
system_profile_val = tuple(system_profile_val.split())