diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-11-18 01:12:31 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-11-18 01:26:40 +0100 |
commit | c0e1e8154379395f5887e76236dce4ae25fdf3bd (patch) | |
tree | a222cdf6929b0b7ff680184a1c0288fbbd380cb2 /dev-dotnet | |
parent | app-emulation/qemu: add 7.2.0_rc1 (diff) | |
download | gentoo-c0e1e8154379395f5887e76236dce4ae25fdf3bd.tar.gz gentoo-c0e1e8154379395f5887e76236dce4ae25fdf3bd.tar.bz2 gentoo-c0e1e8154379395f5887e76236dce4ae25fdf3bd.zip |
dev-dotnet/dotnet-sdk-bin: bump to 7.0.100
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/dotnet-sdk-bin/Manifest | 3 | ||||
-rw-r--r-- | dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.100.ebuild | 59 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest index 75bd2776ff53..e0ff88ae56a0 100644 --- a/dev-dotnet/dotnet-sdk-bin/Manifest +++ b/dev-dotnet/dotnet-sdk-bin/Manifest @@ -13,3 +13,6 @@ DIST dotnet-sdk-6.0.401-linux-x64.tar.gz 185736764 BLAKE2B 8a28e4bdcf897ea34fc31 DIST dotnet-sdk-6.0.402-linux-arm.tar.gz 181622588 BLAKE2B 1010a7cd9f598e0487af127f9e1dac86681479cd6d95e39eb5f1fbf555fd3923be7e2a56bf0bc878259c17e7eb66b711da9587fcfc8ac3ab5f5b17abff1c6da7 SHA512 98b275af781ac7be20e22736d601ea667161640703b9d430340e517fb2c1bdcd6d06d5eb4f374cab1f6e29c9135005050ec89dd8dcf0ec97e7b0d9912e52f988 DIST dotnet-sdk-6.0.402-linux-arm64.tar.gz 179368834 BLAKE2B 102b1f2ce6d3162ad423b1e24c7f4730b2846aee5d6eb19a2fbbc52271f18cda1d98121c39fd9e2dd375c2837ab5a6714f8acc81245ab720f13c5b4c6e4e9dc3 SHA512 2f5351192e87c2dd196d975e7618bd7b0b542034d0b1bc932fe944d8cbabb0ed2599e98e88d9757e68f198559961ab3350d8eddfacc2951df00fbf6a7e44f244 DIST dotnet-sdk-6.0.402-linux-x64.tar.gz 185619780 BLAKE2B 1880ec1f94bd8c79db550fae5c0bd684e7e96e5ee99d5bf41c20a0d9678facb6aaca0065d246015feaa265b0e99d95afaff4f1468fabd04594a9834224afc118 SHA512 972c2d9fff6a09ef8f2e6bbaa36ae5869f4f7f509ae5d28c4611532eb34be10c629af98cdf211d86dc4bc6edebb04a2672a97f78c3e0f2ff267017f8c9c59d4e +DIST dotnet-sdk-7.0.100-linux-arm.tar.gz 187334635 BLAKE2B 3b5ce167f5d92c1bbfe69cf2dad2e998b790dc9ee3255d0b09c64a5ce10e1c8ee4350911730f9b7085efd86beaffa2b8342d0abd630469fed58b9bd7b92d5f69 SHA512 11c1150357a0a79095b563671bc038085f8bbbc678a47681c4decade22fcb18504e60732518e681a5688008e7ffbad69933a8ff3bd91c09ff4df66a80a596809 +DIST dotnet-sdk-7.0.100-linux-arm64.tar.gz 187383874 BLAKE2B 0aef20c885587a1823ced1910f747e51afa7e632a0efa8329828bb0ad314837091458ce18f622deac96ebc1bd7104bfa9efcd7334893508080ea9b8136404f7f SHA512 0a332df58891e808c9adc2b785e9b0e658b29b494963c8d501b0f8806ff5d3daad4614886349cbba86af638ed7ac76e78a2d05aeca13bac25d5f45fbe62b8251 +DIST dotnet-sdk-7.0.100-linux-x64.tar.gz 192029252 BLAKE2B 9fceb9e02866115dddc10395edcec5223f3a0694c844b8c242134029e751b8ab9e0999be35cdd73491b23ebcbf7ace1214395379153143c2553d8d999212e810 SHA512 0a2e74486357a3ee16abb551ecd828836f90d8744d6e2b6b83556395c872090d9e5166f92a8d050331333d07d112c4b27e87100ba1af86cac8a37f1aee953078 diff --git a/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.100.ebuild b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.100.ebuild new file mode 100644 index 000000000000..76d9e128d40b --- /dev/null +++ b/dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.100.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="7.0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="+dotnet-symlink" +REQUIRED_USE="elibc_glibc" +QA_PREBUILT="*" +RESTRICT+=" splitdebug" +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-libs/icu + 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(+)] + !dev-dotnet/dotnet-sdk-bin:6.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 +} |