Skip to content

Commit

Permalink
dev-dotnet/dotnet-sdk-bin: Update dotnet-sdk-bin and runtimes for .NE…
Browse files Browse the repository at this point in the history
…T 8.0.100

Closes: gentoo#33826
Signed-off-by: Blake LaFleur <[email protected]>
Signed-off-by: Blake LaFleur <[email protected]>
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
Blackburn29 authored and xgqt committed Nov 18, 2023
1 parent 8f3b3cc commit ce87d05
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev-dotnet/dotnet-sdk-bin/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ DIST dotnet-sdk-7.0.403-linux-musl-arm.tar.gz 214300446 BLAKE2B ea7425fd6283f5e5
DIST dotnet-sdk-7.0.403-linux-musl-arm64.tar.gz 213913194 BLAKE2B 18ca6b13ed5968df78d41bbafd8f85d03f83cb78670222bf1b2513d240070b953fd9e1d95bd133fe5f0546b452c5aa7e11da3d8e1682d48f42a7ef9479f17f29 SHA512 1d4de5c427ea65332756ee1de7010850c5de05e230a5c01bd972cca7a789d37231597e0c8d1f9c67af3585a6c72daa59db0309a73cd1c38c62b26017eae7001e
DIST dotnet-sdk-7.0.403-linux-musl-x64.tar.gz 218541828 BLAKE2B 04b723c7a50aff63299ad8d71c235144258e66d9c8d8ad7df2e8585054f769a11ff59728617d4083a1a5713755cbb0cf9c67ac99f3f8f556256c6cc357320bcf SHA512 c496204bffb8c878ac22921d78d20a160edd4ce7bd6f5f4b9bafcec06e25a10e4f4a94e90d0aa7acf4c95319334245531fc93184506ad944ee5af1025c36bf73
DIST dotnet-sdk-7.0.403-linux-x64.tar.gz 219211462 BLAKE2B d4ef5177da21ba778287d4c374442ff7e52b39934880c3086aa2817a1fab7a977e5face314e1c6e8128170af9f4d1b181221867dd6d50f8d90e3b620f587de20 SHA512 2e96fa4ee32885a4433be12aac0e10998f9e7f0fe4791f33cd31966c0e0d345d978514787a36c5f0f43c7754e9639a5d52fc96c9f44cf56c0cfc9a8ad2620dd6
DIST dotnet-sdk-8.0.100-linux-arm.tar.gz 209804933 BLAKE2B 919cf3816025de76c3f8a3d209471475b610ede43e88ab7e76545998cf3351275f9ff16d370c9f9c46904af12e3faf283bfa8797f003f9b7f756eac7b1fd01fb SHA512 bcc741518c7ee442e74ee4160f02f35c06e65b6d53265b2b0cfb6502d07e08fc397b7c3f4aecfc59dd173b875f7ceb6dc105fd3d1715c31216fabee068162d5e
DIST dotnet-sdk-8.0.100-linux-arm64.tar.gz 209599630 BLAKE2B c88d2cce49821a253c14c078bb1a2149619701c1b5df55d3690a037c7782eddac274e2ad78cb58422ea039fe0d02078e8e8b751779ab06b8e22bfafc993885f3 SHA512 3296d2bc15cc433a0ca13c3da83b93a4e1ba00d4f9f626f5addc60e7e398a7acefa7d3df65273f3d0825df9786e029c89457aea1485507b98a4df2a1193cd765
DIST dotnet-sdk-8.0.100-linux-musl-arm.tar.gz 209741218 BLAKE2B c4f307e3b9300cc6dec2f5d810fde9d6d9533913fc8cb550fa9f352096eeb3d00710835f7b9f68a189481c2c93b3c47f14da2a3a8548e31a8b57ba7b15367a71 SHA512 a8c08c4eaaa1ade3a1521750c62af92ab8fe91bfdd0f4767f8c0469ebfef091f3a68a443d4566bbfe53c49866d72a104c7aea309cabb36148f9aef9cb950ea64
DIST dotnet-sdk-8.0.100-linux-musl-arm64.tar.gz 209645572 BLAKE2B d17f86d3bc310f26eb2fae6ebd059f353fea2e715f9e20d60b3a184923982cbe508eeb32bb3372ad65014b31fcd1a8ea551fbfc43ed8cc6c97cd4c4d5dd25789 SHA512 1d8e54ab8d2b7b83972c1ecd7a23073bf83d39c258e993e54ab91a383ad2aa44276dfc28938f7b162cf79010187005e42a665933dff021ffa5e5d9cfadb5e2b6
DIST dotnet-sdk-8.0.100-linux-musl-x64.tar.gz 214391625 BLAKE2B 3757f0e2119f236c40ca36dbb7819024aa2e799d265f7d3bb55fdfdd31baa97d10fb6b2dcf1631f7cb85687669dd18dca7d485a032d5ca581d8471ca7c198997 SHA512 a904491cf1fe27603cfc21aa234b2f4da7517929fa9dad0eaa2233d010ef1e890339ca4b8e3c4c0d463f3015d7020a0c37ece97319b061cd92a5fc51cd8a7f4c
DIST dotnet-sdk-8.0.100-linux-x64.tar.gz 214395068 BLAKE2B 3bd1d2b803f0bded06fb5177c18ff3a8e50298cdd7a5cfca48adfb36aaca1eb2b01893960935a564d76407928deeff1893d493f0c42a25da703e27ec52d5d74e SHA512 13905ea20191e70baeba50b0e9bbe5f752a7c34587878ee104744f9fb453bfe439994d38969722bdae7f60ee047d75dda8636f3ab62659450e9cd4024f38b2a5
73 changes: 73 additions & 0 deletions dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-8.0.100.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION=".NET is a free, cross-platform, open-source developer platform"
HOMEPAGE="https://dotnet.microsoft.com/
https://github.com/dotnet/dotnet/"
SRC_URI="
amd64? (
elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-x64.tar.gz )
elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-x64.tar.gz )
)
arm? (
elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm.tar.gz )
elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm.tar.gz )
)
arm64? (
elibc_glibc? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm64.tar.gz )
elibc_musl? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-musl-arm64.tar.gz )
)
"
S="${WORKDIR}"

SDK_SLOT="$(ver_cut 1-2)"
RUNTIME_SLOT="${SDK_SLOT}.0"
SLOT="${SDK_SLOT}/${RUNTIME_SLOT}"

LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64"
RESTRICT="splitdebug"

RDEPEND="
app-crypt/mit-krb5:0/0
dev-libs/icu
dev-util/lttng-ust:0/2.12
sys-libs/zlib:0/1
"
IDEPEND="app-eselect/eselect-dotnet"
PDEPEND="
~dev-dotnet/dotnet-runtime-nugets-${RUNTIME_SLOT}
~dev-dotnet/dotnet-runtime-nugets-3.1.32
~dev-dotnet/dotnet-runtime-nugets-6.0.25
~dev-dotnet/dotnet-runtime-nugets-7.0.14
"

QA_PREBUILT="*"

src_install() {
local dest="opt/${PN}-${SDK_SLOT}"
dodir "${dest%/*}"

# Create a magic workloads file, bug #841896
local featureband="$(( $(ver_cut 3) / 100 * 100 ))" # e.g. 404 -> 400
local workloads="metadata/workloads/${SDK_SLOT}.${featureband}"

mkdir -p "${S}/${workloads}" || die
touch "${S}/${workloads}/userlocal" || die

mv "${S}" "${ED}/${dest}" || die
mkdir "${S}" || die

fperms 0755 "/${dest}"
dosym "../../${dest}/dotnet" "/usr/bin/dotnet-bin-${SDK_SLOT}"
}

pkg_postinst() {
eselect dotnet update ifunset
}

pkg_postrm() {
eselect dotnet update ifunset
}

0 comments on commit ce87d05

Please sign in to comment.