commit:     7c9c54240012d0e69be44abb78d0cb14883faed0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 10 17:21:20 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=7c9c5424

dev-dotnet/dotnet-sdk: check for locales in pkg_pretend

Bug: https://bugs.gentoo.org/931648
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild 
b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
index 49051dc868f3..483499226303 100644
--- a/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
+++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild
@@ -108,11 +108,7 @@ QA_FLAGS_IGNORED="
 .*/singlefilehost
 "
 
-pkg_setup() {
-       check-reqs_pkg_setup
-       llvm_pkg_setup
-       python-any-r1_pkg_setup
-
+check_requirements_locale() {
        if [[ "${MERGE_TYPE}" != binary ]] ; then
                if use elibc_glibc ; then
                        local locales
@@ -137,6 +133,20 @@ pkg_setup() {
        fi
 }
 
+pkg_pretend() {
+       check-reqs_pkg_pretend
+
+       check_requirements_locale
+}
+
+pkg_setup() {
+       check-reqs_pkg_setup
+       llvm_pkg_setup
+       python-any-r1_pkg_setup
+
+       check_requirements_locale
+}
+
 src_prepare() {
        default
 

Reply via email to