From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71E6B158089 for ; Fri, 15 Sep 2023 20:49:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30BF02BC045; Fri, 15 Sep 2023 20:49:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 110432BC045 for ; Fri, 15 Sep 2023 20:49:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C1F8335D21 for ; Fri, 15 Sep 2023 20:49:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37BAA11C1 for ; Fri, 15 Sep 2023 20:49:05 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1694810922.24db3efe53aa6b8801326cd8ef97d1db801fb34b.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/dotnet-sdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-dotnet/dotnet-sdk/Manifest dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild dev-dotnet/dotnet-sdk/metadata.xml X-VCS-Directories: dev-dotnet/dotnet-sdk/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 24db3efe53aa6b8801326cd8ef97d1db801fb34b X-VCS-Branch: master Date: Fri, 15 Sep 2023 20:49:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f555b49-395c-4125-80e8-1fc030bd4267 X-Archives-Hash: 29de242230f2bce68c4c1a04aaa64728 commit: 24db3efe53aa6b8801326cd8ef97d1db801fb34b Author: Maciej Barć gentoo org> AuthorDate: Fri Sep 15 16:56:00 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Sep 15 20:48:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24db3efe dev-dotnet/dotnet-sdk: new package; add 7.0.105 Bug: https://bugs.gentoo.org/900597 Signed-off-by: Maciej Barć gentoo.org> dev-dotnet/dotnet-sdk/Manifest | 1 + dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild | 90 +++++++++++++++++++++++++ dev-dotnet/dotnet-sdk/metadata.xml | 15 +++++ 3 files changed, 106 insertions(+) diff --git a/dev-dotnet/dotnet-sdk/Manifest b/dev-dotnet/dotnet-sdk/Manifest new file mode 100644 index 000000000000..1ef44346ab87 --- /dev/null +++ b/dev-dotnet/dotnet-sdk/Manifest @@ -0,0 +1 @@ +DIST dotnet-sdk-7.0.105-prepared-gentoo-amd64.tar.xz 1617916684 BLAKE2B 729d2027e3c356581f7db763d7da09cba512a1a48ddf6492e632dd15eaa547efa8153abeec73c37b5e31e0b8d94c54e0495dd0e67dbe8d1592dbb93b5484e830 SHA512 f45366830435a3adb03221a684818337b3ad6af6b3d46edbf0a664af1c49e7b949c0d2c4507b61c767fdddfa492d32d341cd22e2e4ad28657504ed34757c6aff diff --git a/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild new file mode 100644 index 000000000000..f6d6fa9003e4 --- /dev/null +++ b/dev-dotnet/dotnet-sdk/dotnet-sdk-7.0.105.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +## Build the tarball: +## ./build.sh --configuration Release --architecture x64 \ +## /p:ArcadeBuildTarball=true /p:TarballDir="$(pwd)/dotnet-sdk-7.0.105" +## cd dotnet-sdk-7.0.105 +## ./prep.sh --bootstrap +## cd .. +## tar --create --auto-compress --file dotnet-sdk-7.0.105.tar.xz dotnet-sdk-7.0.105 +## mv dotnet-sdk-7.0.105.tar.xz dotnet-sdk-7.0.1050-prepared-gentoo-amd64.tar.xz +## upload dotnet-sdk-7.0.1050-amd64.tar.xz + +EAPI=8 + +inherit check-reqs + +DESCRIPTION=".NET is a free, cross-platform, open-source developer platform" +HOMEPAGE="https://dotnet.microsoft.com/" +SRC_URI=" + amd64? ( https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}-prepared-gentoo-amd64.tar.xz ) +" + +SDK_SLOT="$(ver_cut 1-2)" +RUNTIME_SLOT="${SDK_SLOT}.5" +SLOT="${SDK_SLOT}/${RUNTIME_SLOT}" + +LICENSE="MIT" +KEYWORDS="~amd64" + +BDEPEND=" + dev-util/cmake + dev-vcs/git + sys-devel/clang +" +RDEPEND=" + app-crypt/mit-krb5:0/0 + dev-libs/icu + dev-libs/openssl:= + 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 +" + +CHECKREQS_DISK_BUILD="20G" + +# QA_PREBUILT="*" # TODO: Which binaries are created by dotnet itself? + +src_prepare() { + unset DOTNET_DATA DOTNET_ROOT + unset NUGET_DATA NUGET_PACKAGES + + default +} + +src_compile() { + # Remove .NET leftover files that block build. + if [[ -f /tmp/PackageVersions.props ]] ; then + rm /tmp/PackageVersions.props # nonfatal + fi + + ebegin "Building .NET SDK ${SDK_SLOT}" + bash ./build.sh --clean-while-building + eend ${?} || die "build failed" +} + +src_install() { + local dest=/usr/$(get_libdir)/${PN}-${SDK_SLOT} + dodir ${dest} + + ebegin "Extracting SDK archive" + tar xzf artifacts/*/Release/${P}-*.tar.gz -C "${ED}"/${dest} + eend ${?} || die "extraction failed" + + fperms 0755 ${dest} + dosym -r ${dest}/dotnet /usr/bin/dotnet-${SDK_SLOT} +} + +pkg_postinst() { + eselect dotnet update ifunset +} + +pkg_postrm() { + eselect dotnet update ifunset +} diff --git a/dev-dotnet/dotnet-sdk/metadata.xml b/dev-dotnet/dotnet-sdk/metadata.xml new file mode 100644 index 000000000000..b2549c1c3737 --- /dev/null +++ b/dev-dotnet/dotnet-sdk/metadata.xml @@ -0,0 +1,15 @@ + + + + + + dotnet@gentoo.org + Gentoo Dotnet Project + + + https://learn.microsoft.com/en-us/dotnet/ + https://github.com/dotnet/sdk/issues/ + dotnet/installer + dotnet/sdk + +