[PATCH 9/9] x11-terms/wezterm: port to esplit.eclass
Sam James <[email protected]> Thu, 9 Jul 2026 22:22:18 +0100
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <d44819a035a3dd561ec975cdc9d622613a8a8c2a.1783632127.git.sam@gentoo.org> |
Avoid global-scope use of a heredoc which requires the use of a temporary file for any size with < EAPI 9 and with large sizes still with >= EAPI 9. Also, add missing `local`. Closes: https://bugs.gentoo.org/978944 Signed-off-by: Sam James <[email protected]> --- x11-terms/wezterm/wezterm-20260616.002039.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/x11-terms/wezterm/wezterm-20260616.002039.ebuild b/x11-terms/wezterm/wezterm-20260616.002039.ebuild index cb994e7cbd6b1..4187996a2854f 100644 --- a/x11-terms/wezterm/wezterm-20260616.002039.ebuild +++ b/x11-terms/wezterm/wezterm-20260616.002039.ebuild @@ -9,7 +9,7 @@ CRATES=" RUST_MIN_VER="1.93" -inherit cargo desktop shell-completion xdg-utils +inherit esplit cargo desktop shell-completion xdg-utils COMMIT="40daec89346f44ca733dbcfa74e144a609d9acba" @@ -90,8 +90,14 @@ QA_FLAGS_IGNORED=" " submodule_uris() { + local name hoster dep url commit fields for line in "${SUBMODULES[@]}"; do - read -r name hoster dep url commit <<< "${line}" || die + mapfile -d '' fields < <(esplit "${line}") + name=${fields[0]} + hoster=${fields[1]} + dep=${fields[2]} + url=${fields[3]} + commit=${fields[4]} if [ ${hoster} == "github" ]; then -- 2.55.0