commit:     32e754cceb07fc83de21bbcdb61b0effc750afd8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 15:07:42 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 15:13:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e754cc

dev-dotnet/dotnet-sdk-bin: bump to 3.1.422

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/dotnet-sdk-bin/Manifest                 |  3 ++
 .../dotnet-sdk-bin/dotnet-sdk-bin-3.1.422.ebuild   | 56 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest 
b/dev-dotnet/dotnet-sdk-bin/Manifest
index 22cd580ceb8b..07b496c08f87 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -4,6 +4,9 @@ DIST dotnet-sdk-3.1.420-linux-x64.tar.gz 123294740 BLAKE2B 
edee0ced3b30bc2055568
 DIST dotnet-sdk-3.1.421-linux-arm.tar.gz 128517951 BLAKE2B 
0b272a532edabb1990b6a8efd378a7850a180522b1eb531c90bd57699e76ed8a5d6be089915437da9daa1030a4021a9a31ac2171c8185e86658f716f71549744
 SHA512 
412b30ee45554de69844e4297354680fdc5111c270b5e41af73db212117ee101878b87eb4592bda4c314ec0d7406ba8ab449d83466267f78198ce09fc32ef425
 DIST dotnet-sdk-3.1.421-linux-arm64.tar.gz 123360295 BLAKE2B 
907bdf22e11679f27036093496c2b1c172e30438dd754f233e1973f2f3fa84f85960c2f2e16d1969fda496ffa3a7892a2e0f283e193529aa2645f60b1766b6ab
 SHA512 
c584642469343c2c54fa02a7157009fa36bae9b304512db0a2b0069f71593ee2ba47070896212def0541460f37bf1b0a478b914e08a2c78b985cb2981e5ab6c6
 DIST dotnet-sdk-3.1.421-linux-x64.tar.gz 123221768 BLAKE2B 
665daa6f3dafe072fc2290922c2523e7c1177b6710e1fb2aa0128d6cf318d6e3d621c3145a8f3d2655c68a6938457459887ce5bb2b76e9380623e651e5ebc319
 SHA512 
9f592db89ddfdfa3254d59c39f227109e0f87f156a8ab00595bcf332fdebd3e873fb9e07c875905aaa8ba5022e6e551e2d9516cfb855d04ec781313521595431
+DIST dotnet-sdk-3.1.422-linux-arm.tar.gz 128580438 BLAKE2B 
8f334b67bf5a9059ed8e5556b82c8ab1c9d8d5f497ec94399dff51c963574141099d4438b8308a73dedcf80d8d1f1627d5853b130160282e0c8bf3d6d9446b9d
 SHA512 
9cbccaf303f693657f797ae81eec2bd2ea55975b7ae71a8add04175a0104545208fa2f9c536b97d91fa48c6ea890678eb0772a448977bce4acbc97726ac47f83
+DIST dotnet-sdk-3.1.422-linux-arm64.tar.gz 123321453 BLAKE2B 
56c2be5f1a788277d7d863343d00b3d60866bf2daee8a94d2754d407b798094ffafe7d82de619a4feb2ad7c681a8602eb0f8b4ed6a07835380219f4a5940c423
 SHA512 
3eb7e066568dfc0135f2b3229d0259db90e1920bb413f7e175c9583570146ad593b50ac39c77fb67dd3f460b4621137f277c3b66c44206767b1d28e27bf47deb
+DIST dotnet-sdk-3.1.422-linux-x64.tar.gz 123397283 BLAKE2B 
13ba2cacb06c47449ee4329ea556e08b80d88027bbbf0601666f7d02e47fd322ac1b10f5442db830b33fc21eae154994a6a0b8f38263d3e6166113dbb6e13775
 SHA512 
690759982b12cce7a06ed22b9311ec3b375b8de8600bd647c0257c866d2f9c99d7c9add4a506f4c6c37ef01db85c0f7862d9ae3de0d11e9bec60958bd1b3b72c
 DIST dotnet-sdk-5.0.407-linux-arm.tar.gz 139346500 BLAKE2B 
5bd4cdda68fd5668be488d2f75bf8ba79474985f8c1142af8c5209b0fc68ff39a4ab9a1916671ebaf6f783f0d9d193a454861474240642d77eb96e8102d7b535
 SHA512 
37db60df90f9f43a5399c1b7929c545e3815d7a91fdea82c96a136dcef993b0f8c67568759ae24321dee818fd1501cea8e541a159e10ed1a08fa96dddf2ffb9e
 DIST dotnet-sdk-5.0.407-linux-arm64.tar.gz 137430261 BLAKE2B 
810f545a399d9f59dece514f9024730281d8cdda7f7d4e632e5b53490dfbf7e60595a720cba390608ad3b01ba6337706f7bf03570fa95e80469e8a9bcd6fb21f
 SHA512 
500428a6a99d3825400be5cc1a723283f21a98c15ef68914e9252fc872b625fd10c220afd9787b7db6b226a04e83d30658234d464ccdf838639920d1768025e0
 DIST dotnet-sdk-5.0.407-linux-x64.tar.gz 142941732 BLAKE2B 
6c049812539aec3ee48c653f9344a9b8aac356d862aa864da97692be37455c8390956c4fb4b93f432b518556c575ac25bef29ff31013b0ec391b8de80c8a59fa
 SHA512 
b45f1bf086bfb5e0701c5e14534524ffc87d0195358ac4fa2cf36dac74537ca4c21c7177cfbfa7e121e77aa4106bb1e7039c9739ad73b942e2437bc5e39e6dce

diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.422.ebuild 
b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.422.ebuild
new file mode 100644
index 000000000000..595560460cba
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-3.1.422.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+MY_PV="${PV}"
+
+DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
+HOMEPAGE="https://dotnet.microsoft.com/";
+LICENSE="MIT"
+
+SRC_URI="
+amd64? ( 
https://dotnetcli.azureedge.net/dotnet/Sdk/${MY_PV}/dotnet-sdk-${MY_PV}-linux-x64.tar.gz
 )
+arm? ( 
https://dotnetcli.azureedge.net/dotnet/Sdk/${MY_PV}/dotnet-sdk-${MY_PV}-linux-arm.tar.gz
 )
+arm64? ( 
https://dotnetcli.azureedge.net/dotnet/Sdk/${MY_PV}/dotnet-sdk-${MY_PV}-linux-arm64.tar.gz
 )
+"
+
+SLOT="3.1"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="+dotnet-symlink"
+REQUIRED_USE="elibc_glibc"
+QA_PREBUILT="*"
+RESTRICT+=" splitdebug"
+RDEPEND="
+       app-crypt/mit-krb5:0/0
+       dev-util/lttng-ust:0
+       sys-libs/zlib:0/1
+       dotnet-symlink? ( !dev-dotnet/dotnet-sdk[dotnet-symlink(+)] )
+"
+
+S=${WORKDIR}
+
+src_install() {
+       local dest="opt/${PN}-${SLOT}"
+       dodir "${dest%/*}"
+
+       { mv "${S}" "${ED}/${dest}" && mkdir "${S}" && fperms 0755 "/${dest}"; 
} || die
+       dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SLOT}"
+
+       if use dotnet-symlink; then
+               dosym "../../${dest}/dotnet" "/usr/bin/dotnet"
+               dosym "../../${dest}/dotnet" "/usr/bin/dotnet-${SLOT}"
+
+               # set an env-variable for 3rd party tools
+               echo "DOTNET_ROOT=/${dest}" > "${T}/90${PN}-${SLOT}" || die
+               doenvd "${T}/90${PN}-${SLOT}"
+       fi
+}
+
+pkg_postinst() {
+       # For bug #833281 Also, MS docs:
+       # 
https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalization
+       optfeature "globalization support" dev-libs/icu
+}

Reply via email to