diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-21 02:09:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-21 02:09:25 +0000 |
commit | afcb9236a72cf602364c28b9bde6648e4a7f1ca5 (patch) | |
tree | 9608aa2c881b2688207832334c938f0e38d5c71c /app-shells/pwsh | |
parent | d3419aa304ff2564036398be5e8ed4bdeaeaa007 (diff) |
gentoo auto-resync : 21:01:2024 - 02:09:25
Diffstat (limited to 'app-shells/pwsh')
-rw-r--r-- | app-shells/pwsh/Manifest | 4 | ||||
-rw-r--r-- | app-shells/pwsh/pwsh-7.3.9.ebuild | 24 | ||||
-rw-r--r-- | app-shells/pwsh/pwsh-7.4.0.ebuild | 22 |
3 files changed, 38 insertions, 12 deletions
diff --git a/app-shells/pwsh/Manifest b/app-shells/pwsh/Manifest index 4235408074b2..34f00b6a7fc6 100644 --- a/app-shells/pwsh/Manifest +++ b/app-shells/pwsh/Manifest @@ -347,6 +347,6 @@ DIST xunit.runner.visualstudio.2.5.3.nupkg 572634 BLAKE2B 56b7a777c824de661b9083 DIST xunit.skippablefact.1.4.13.nupkg 46061 BLAKE2B 1c362ebed9d8f88fb8f3728194b7b406f05aaac3776ea8b1167722b82799a6acd589771044aee37d045d45e7760cdde1a555b80cb8a92c5d55e0cc3ead6e66c5 SHA512 d3cf30ada4d447fd4737143554f9c9be1aabe502e1c5e2614e13100bda71f3ed9eab03805c7d3475936a9ed6730bf86ce2212f6da6ccf5306553fc1352bcd5ba DIST xunitxml.testlogger.3.0.78.nupkg 77009 BLAKE2B e025e1afe06ee0030642abf418ca5a4458df8ba2022cb807e4283b96c167f1017cdb947f3769d371713bdbff57387cb4977cee914c4c282171b696af8a04dfd5 SHA512 096ff6a4e9a06af6dce58a514bf896098cac408d04e98d9fc09d79c9739deebd6ac6ca30bcd4467c20e8f5b311b7330f5678ef4f576a48bc051711a2763db534 DIST xunitxml.testlogger.3.1.17.nupkg 84249 BLAKE2B dc53293a4c910397d6ccab3cf32a9ec53503e3146b296efbea20aa32498bf5008355e784083202daa0ea494133eec02f81831dced153d2f2fb28070ffc1a54b0 SHA512 da05c84fe7a8417e1ef69aaed013ee0ac08f74ddbd67b00bc3736f9e1e2e4c6283c4fa1b7119eb73e61c87e0007d86937628db9ed256167cc47d1e0234c5defc -EBUILD pwsh-7.3.9.ebuild 12968 BLAKE2B e90e81009f213220daf82dbba0452f4bbfecbf5ed4aab7396957efe4fde4086367fb4b90dfba9270d7fefb9f18a660e6d74c5b3ed733b8a10aaffa7e887be22a SHA512 00f682819fb2eee9d5f7efb7cf4f016318be26b276a39ac34ad2abe262ab15e96570b8997096a460d8b3dc4e88f0ec395a0df4d7a4cefcfa886b25501f7ddf55 -EBUILD pwsh-7.4.0.ebuild 12308 BLAKE2B a18efb3e43de07ba9dcb05ba00ba532ea771b353b38f7872254016dfd98f802795f058727ccf0b879cedebdc831f95393efec08d5fc545ae1bba08f94575f32b SHA512 dace4a2be968ecd50ac40c8117363e26ac1d1f1c0afe6b1f96cf964851837cf3cf66009a1f2417eddf9269c09c8f314c6c0c7c926bb3b0714eadab646eee27c2 +EBUILD pwsh-7.3.9.ebuild 13523 BLAKE2B 25c5b9de6ac8beaaf1ca2ef9897ecbc3bfa959e3a22bddb32c2dead038a110f27b8dff0bab3ad574c2d5e8abe00c5b7384d9a06c3012464067bad711e6bb0c12 SHA512 cbcd76f5f0cc9287651e9e653a6bd590e832944997ad202394f393a01e5da5ef8298b965fb99481e5b6e1cdd0d8bbe075c58386107ba7c5ee5b95e9ef807ec85 +EBUILD pwsh-7.4.0.ebuild 12380 BLAKE2B 431c65f01e422fe41e7940723a232d06d07af77306feff6e0d0af81c4ac489bc8cf8bafeabc7aa26968e23c1bf2db470641b0b314dc5998659334963b854e0b6 SHA512 6e61697bc1390650224ad8baaa71ac50fee08a2e3d6a1cad6a5a606343adcfbaaf0dc80f7eac3a22dab7ae6aa4ae1436751f3ef356285ddfc7807fb8ce53070d MISC metadata.xml 975 BLAKE2B 7829822b2adb78e5f231c4e2e40671b3df61ed90c5dc01267bb90a56a97758b0197ae523ed495d1099d5e51b4854cdf61c7f052584f1a4c08d353177dc3add5d SHA512 440546ebb8d93817d0dc48a11543c36f200c44a9f68ff394f0727d89c9af8f91127d5f76a1c0e88a61dbfd9f3c4c1711bf3dd75bcb91eed32052839eef01b564 diff --git a/app-shells/pwsh/pwsh-7.3.9.ebuild b/app-shells/pwsh/pwsh-7.3.9.ebuild index ca71f9702880..b4c0acc62c02 100644 --- a/app-shells/pwsh/pwsh-7.3.9.ebuild +++ b/app-shells/pwsh/pwsh-7.3.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # NOTICE: Before packaging we have to run "ResGen" and "GetDependencies". @@ -332,6 +332,28 @@ DOCS=( CHANGELOG CHANGELOG.md CODE_OF_CONDUCT.md README.md docs ) pkg_setup() { check-reqs_pkg_setup dotnet-pkg_pkg_setup + + if [[ "${MERGE_TYPE}" != binary ]] ; then + if use elibc_glibc ; then + local locales="$(locale -a)" + + if has en_US.utf8 ${locales} ; then + LC_ALL=en_US.utf8 + elif has en_US.UTF-8 ${locales} ; then + LC_ALL=en_US.UTF-8 + else + eerror "The locale en_US.utf8 or en_US.UTF-8 is not available." + eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}." + + die "Could not switch to the en_US.UTF-8 locale." + fi + else + LC_ALL=en_US.UTF-8 + fi + + export LC_ALL + einfo "Successfully switched to the ${LC_ALL} locale." + fi } src_unpack() { diff --git a/app-shells/pwsh/pwsh-7.4.0.ebuild b/app-shells/pwsh/pwsh-7.4.0.ebuild index 5c170e355644..ff259b5a16d2 100644 --- a/app-shells/pwsh/pwsh-7.4.0.ebuild +++ b/app-shells/pwsh/pwsh-7.4.0.ebuild @@ -294,17 +294,21 @@ pkg_setup() { dotnet-pkg_pkg_setup if [[ "${MERGE_TYPE}" != binary ]] ; then - local locales="$(locale -a)" + if use elibc_glibc ; then + local locales="$(locale -a)" - if has en_US.utf8 ${locales} ; then - LC_ALL=en_US.utf8 - elif has en_US.UTF-8 ${locales} ; then - LC_ALL=en_US.UTF-8 - else - eerror "The locale en_US.utf8 or en_US.UTF-8 is not available." - eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}." + if has en_US.utf8 ${locales} ; then + LC_ALL=en_US.utf8 + elif has en_US.UTF-8 ${locales} ; then + LC_ALL=en_US.UTF-8 + else + eerror "The locale en_US.utf8 or en_US.UTF-8 is not available." + eerror "Please generate en_US.UTF-8 before building ${CATEGORY}/${P}." - die "Could not switch to the en_US.UTF-8 locale." + die "Could not switch to the en_US.UTF-8 locale." + fi + else + LC_ALL=en_US.UTF-8 fi export LC_ALL |