summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-05-10 19:21:20 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-05-10 19:22:17 +0200
commit7c9c54240012d0e69be44abb78d0cb14883faed0 (patch)
tree65d6ce16192d1c169596542e3c661e16db180bf8
parentapp-shells/pwsh: check for locales in pkg_pretend (diff)
downloadgentoo-7c9c54240012d0e69be44abb78d0cb14883faed0.tar.gz
gentoo-7c9c54240012d0e69be44abb78d0cb14883faed0.tar.bz2
gentoo-7c9c54240012d0e69be44abb78d0cb14883faed0.zip
dev-dotnet/dotnet-sdk: check for locales in pkg_pretend
Bug: https://bugs.gentoo.org/931648 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--dev-dotnet/dotnet-sdk/dotnet-sdk-8.0.102.ebuild20
1 files 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