Skip to content

Commit

Permalink
dev-dotnet/dotnet-sdk-bin: bump to 7.0.401
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Sep 16, 2023
1 parent 47db8b3 commit d7d44e3
Show file tree
Hide file tree
Showing 2 changed files with 77 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 @@ -10,3 +10,9 @@ DIST dotnet-sdk-7.0.203-linux-musl-arm.tar.gz 193086103 BLAKE2B fbd943578a9ad1ee
DIST dotnet-sdk-7.0.203-linux-musl-arm64.tar.gz 193132851 BLAKE2B 6375b410b5e0c3163c4de0306aa618f72104574195b6076854a5222ba9720cc9fe7eb1ddff37f88a78758311dca58a3c093b503233aa4df60d93494b79435ada SHA512 ad94a557cb7a319e641ba09f3ee63dce74cae3ae668011c009b7a004b1b28001942ae4c7a82fe80ba2467f5ac44731bff81a1edd422c0aaaf95d7206b715dcbf
DIST dotnet-sdk-7.0.203-linux-musl-x64.tar.gz 197345038 BLAKE2B 7c9a016c0ac9a78b0337fc58670788e11950cd5db9d22ef9845ab40ff6969138f76d878dca9972183f73c35fef0940e690a57fa7e44bf7236e9cd73010e30267 SHA512 0d7bbf8f8e517aa4530d2bc590978394f0fd568a866b6369ab349aaf43412f820391ee3bb99d3f5b7f149bc7dfc1baff7658d928caa931e37c69e149d3667741
DIST dotnet-sdk-7.0.203-linux-x64.tar.gz 197819323 BLAKE2B f95c9d34f7feba5c0e1407c9c4012361f1bb282748d7644a9e823d3b39d62a42ab3de3e8ce2a310b40ea180069bddea3eef07973043ba2f20020365f9adfd52c SHA512 ed1ae7cd88591ec52e1515c4a25d9a832eca29e8a0889549fea35a320e6e356e3806a17289f71fc0b04c36b006ae74446c53771d976c170fcbe5977ac7db1cb6
DIST dotnet-sdk-7.0.401-linux-arm.tar.gz 214146328 BLAKE2B 6291452e36442f44a459aa03e7418e693c098349e68e866e1a1a3a718118f5ea1b359911858288fbaa41a02cd5ea3e91da74bc40dfbaf9e631e5173b318b0a13 SHA512 baa82f57a16996b1e9a73261e23b74181c251399a4ecb09ceb95bcfcc8e3bf89e31ff26b0e0a8e87cb77406ad097719e8e392b684b2e00cdb81f2ba6f5134f1f
DIST dotnet-sdk-7.0.401-linux-arm64.tar.gz 214008457 BLAKE2B 33cd31d7950e8d7dafd503a7d760f4d82e5af254bcd42ca344635869218a1a2fae65490c41e655d5bbc75d84821f64edf4de2e1d8b18a2eb4364ece9dfa47d08 SHA512 7c6ba2047998c906353f8e8d7fa73589867f46cbc2d4ece6cc7ee4ca3402b6a18717089b98002c7d15e16ca6fd5b11e42037b5fb0e25aff39075d67d8be49e25
DIST dotnet-sdk-7.0.401-linux-musl-arm.tar.gz 214138371 BLAKE2B bbb12a92bf5d3b88521c8397fe9419263906297feef9a6904bf32c325e8bbb5274ae0fc404975cb74179b31b8d1f7590f210c79400d72135566eca2b093f5a87 SHA512 a15e482abe9acf9b094f306edd5b6c84cc7e46c1da5496dd589471d5758304da99408d2c6510da99ad790a4593995ef09ac157a58a844201da23d6736736ffd8
DIST dotnet-sdk-7.0.401-linux-musl-arm64.tar.gz 213974901 BLAKE2B 444b86f4899c3979db257c229b3d717851b83e51156ea55e9c2004e41ed6a59f5c241ece7697c9ae40abd4b5557f00e51f4ce45c458990a238023750807fd597 SHA512 4c8e0ba9e6c4e0ff71c563a6a25d470c47d11270e7b166b8c2f1a41337dead0b5765fda17a9a332ba55ff3faaa7aadfa39142cb1e6d32d20c6b826ef521125e1
DIST dotnet-sdk-7.0.401-linux-musl-x64.tar.gz 218584001 BLAKE2B c4a8fc3397796e20c3998633d858a506a6d87d409c082bb6bb6d45e5714ad3ca3075fd4f0d9cfc10d9417e1a2d86250a205126724bc08d34426c99e52e714515 SHA512 77a33605b815a50e2b79b110c1617f69668c7e802919ea954ac45aad4208750436c6fe0d71aad367a610846633a8da56e3f1f4f82460f801eb3b9437bf2051a0
DIST dotnet-sdk-7.0.401-linux-x64.tar.gz 219152408 BLAKE2B 69f1b10ffb3decdb81b99c08ecd3aeb8bed8415de1251e49d9cfe7cfe1d266e3a0807677bafd7e0be318c8ca5a70420fc911a9112e57b512114e7447e2eeccf1 SHA512 2544f58c7409b1fd8fe2c7f600f6d2b6a1929318071f16789bd6abf6deea00bd496dd6ba7f2573bbf17c891c4f56a372a073e57712acfd3e80ea3eb1b3f9c3d0
71 changes: 71 additions & 0 deletions dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.401.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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/"
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}.5"
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.16
"

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 d7d44e3

Please sign in to comment.