commit: b67acd43a296495f50bc6ce147ac45490ad6bc87
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 8 16:21:10 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 8 16:21:10 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b67acd43
PathVariablesCheck: add some more names
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
src/pkgcheck/checks/codingstyle.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/pkgcheck/checks/codingstyle.py
b/src/pkgcheck/checks/codingstyle.py
index b49ffced..d5473616 100644
--- a/src/pkgcheck/checks/codingstyle.py
+++ b/src/pkgcheck/checks/codingstyle.py
@@ -190,7 +190,7 @@ class PathVariablesCheck(Check):
"""Scan ebuild for path variables with various issues."""
_source = sources.EbuildFileRepoSource
- known_results = frozenset([MissingSlash, UnnecessarySlashStrip,
DoublePrefixInPath])
+ known_results = frozenset({MissingSlash, UnnecessarySlashStrip,
DoublePrefixInPath})
prefixed_dir_functions = (
"insinto",
"exeinto",
@@ -225,13 +225,19 @@ class PathVariablesCheck(Check):
# qmake-utils.eclass
"qt4_get_bindir",
"qt5_get_bindir",
+ "qt6_get_bindir",
# s6.eclass
"s6_get_servicedir",
+ # shell-completion.eclass
+ "get_fishcompdir",
+ "get_zshcompdir",
# systemd.eclass
"systemd_get_systemunitdir",
"systemd_get_userunitdir",
"systemd_get_utildir",
"systemd_get_systemgeneratordir",
+ "systemd_get_systempresetdir",
+ "systemd_get_sleepdir",
)
prefixed_rhs_variables = (
# catch silly ${ED}${EPREFIX} mistake ;-)