summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-09-21 01:37:42 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-09-21 01:40:06 +0200
commit94a5845fa22359444223dae96ee824693b5d1b51 (patch)
tree7a754d4c6d960de69ffaee8b063b2c070d0721ab /dev-dotnet
parentdev-dotnet/dotnet-sdk-bin: bump to 3.1.423 (diff)
downloadgentoo-94a5845fa22359444223dae96ee824693b5d1b51.tar.gz
gentoo-94a5845fa22359444223dae96ee824693b5d1b51.tar.bz2
gentoo-94a5845fa22359444223dae96ee824693b5d1b51.zip
dev-dotnet/dotnet-sdk-bin: bump to 6.0.401
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/dotnet-sdk-bin/Manifest3
-rw-r--r--dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.401.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
index 96f4cd24c570..520bd0446f9e 100644
--- a/dev-dotnet/dotnet-sdk-bin/Manifest
+++ b/dev-dotnet/dotnet-sdk-bin/Manifest
@@ -19,3 +19,6 @@ DIST dotnet-sdk-6.0.302-linux-x64.tar.gz 183170672 BLAKE2B b4760bc5487dd791c5e61
DIST dotnet-sdk-6.0.400-linux-arm.tar.gz 181255234 BLAKE2B af46ca19f09c690ff28ee02e273fae3113b6450028d4ff30798aaa796932f12f6082f919cfa116cf1e12f9a4674187e1da1a90d6646bf62212376e86cb1d5b69 SHA512 a72aa70bfb15e21a20ddd90c2c3e37acb53e6f1e50f5b6948aac616b28f80ac81e1157e8db5688e21dc9a7496011ef0fcf06cdca74ddc7271f9a1c6268f4b1b2
DIST dotnet-sdk-6.0.400-linux-arm64.tar.gz 178978691 BLAKE2B a9a4d9acaca85766be37e9939170f16751e08085ca19dc5b892ce33abcbdde274a023de4326704c016709000aa1771fac8fc1de7dae52c727496ff0ef6444860 SHA512 a21010f9e0e091bf0a4df9dfc4ec9893c056c2b07b10be093ea392a4fa5c8a38bad9535f66e570b45dc25165b685199fb729434b845bcfb35f8b79cceb22c632
DIST dotnet-sdk-6.0.400-linux-x64.tar.gz 185123905 BLAKE2B 84a4df49516cf9e1185b59ac840c54f27c3c1d5b6f3ab22db0756d24c72ea30842ceeca5e4ddc40ecd0efb4f84dbe794ba32568769459f9797e7006419276645 SHA512 8decbba0a6b09501daede52cbb5a9ae9e5f31ade201918c03efcd1b4cc345ec934f88321704ec3beb1f90f2204934be7259c76f66d9204cbdd15933582602763
+DIST dotnet-sdk-6.0.401-linux-arm.tar.gz 181483226 BLAKE2B 75be333749c8bfbdb93dd0524ad9cc79e97ca8b8eb5ef1c2a26593b10de9cd8d6d5f17035e14bbd7e65ad06dd4c6b30ea7363e45c985e356eb513220c7af698f SHA512 7d3c32f510a7298b8e4c32a95e7d3c9b0475d94510732a405163c7bff589ffda8964f2e9336d560bd1dc37461e6cb3da5809337a586da0288bdcc71496013ba0
+DIST dotnet-sdk-6.0.401-linux-arm64.tar.gz 179313972 BLAKE2B dac1b2b3e8fe79b3cb2f5da670dc7e27b0f673df41e2590f35e61353714364c323c96207e6ab4c89f0c9aa5172b09b555345650d1e9ec39c7e32440c1c70faaf SHA512 8c05f9e02e0a48fcc3e4534fa7225fe5b974c07f1a4788c46207e18e94031194e1c881e40452ee6c432764e92331c50ae47305d4aec5afa363fab3a8a6727cdf
+DIST dotnet-sdk-6.0.401-linux-x64.tar.gz 185736764 BLAKE2B 8a28e4bdcf897ea34fc31b1ddad2f8d8e1c5bcbf42513ddab8c102dff1a71458a0c553e28ada08e1a3b358ae1c0699e8632ddc7352d5ca0de34b1f23cbf6254c SHA512 6fce5f29e6cfc80da1df86d2de3a637108023397d275e0dcfa0b79ef36eb85c2c3433db467aa5d8fda7e32bc21205a126636b53d56c4eb4c547d9d3b2370cb31
diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.401.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.401.ebuild
new file mode 100644
index 000000000000..bfdeb499a7c5
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.401.ebuild
@@ -0,0 +1,65 @@
+# 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="6.0"
+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(+)]
+ !dev-dotnet/dotnet-sdk-bin:3.1[dotnet-symlink(+)]
+ !dev-dotnet/dotnet-sdk-bin:5.0[dotnet-symlink(+)]
+ )
+"
+
+S=${WORKDIR}
+
+src_install() {
+ local dest="opt/${PN}-${SLOT}"
+ dodir "${dest%/*}"
+
+ # Create a magic workloads file, bug #841896
+ local featureband="$(ver_cut 3 | sed "s/[0-9]/0/2g")"
+ local workloads="metadata/workloads/${SLOT}.${featureband}"
+ { mkdir -p "${S}/${workloads}" && touch "${S}/${workloads}/userlocal"; } || die
+
+ { 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
+}