commit: 6964e363456ade12c124d784e8335a850a9705be Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Fri May 10 17:18:33 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri May 10 17:22:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6964e363
app-shells/pwsh: check for locales in pkg_pretend Bug: https://bugs.gentoo.org/931648 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-shells/pwsh/pwsh-7.4.1.ebuild | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/app-shells/pwsh/pwsh-7.4.1.ebuild b/app-shells/pwsh/pwsh-7.4.1.ebuild index d322f45e998c..7431aec62918 100644 --- a/app-shells/pwsh/pwsh-7.4.1.ebuild +++ b/app-shells/pwsh/pwsh-7.4.1.ebuild @@ -296,17 +296,7 @@ PATCHES=( DOCS=( CHANGELOG CHANGELOG.md CODE_OF_CONDUCT.md README.md docs ) -gui_cache_update() { - if use gui ; then - xdg_icon_cache_update - xdg_desktop_database_update - fi -} - -pkg_setup() { - check-reqs_pkg_setup - dotnet-pkg_pkg_setup - +check_requirements_locale() { if [[ "${MERGE_TYPE}" != binary ]] ; then if use elibc_glibc ; then local locales @@ -331,6 +321,26 @@ pkg_setup() { fi } +gui_cache_update() { + if use gui ; then + xdg_icon_cache_update + xdg_desktop_database_update + fi +} + +pkg_pretend() { + check-reqs_pkg_pretend + + check_requirements_locale +} + +pkg_setup() { + check-reqs_pkg_setup + dotnet-pkg_pkg_setup + + check_requirements_locale +} + src_prepare() { dotnet-pkg_src_prepare
