mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-dotnet/dotnet-sdk-bin-common: treeclean
Closes: https://bugs.gentoo.org/799251 Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
DIST dotnet-sdk-5.0.301-linux-arm.tar.gz 138735656 BLAKE2B c23732749f67bd2ca63cadba9bcb3f5abd4e10d00fed441825e6a59f9d3a3e663101502e5557dd94e737443cc9bbab0d5dbe8f7ebdbde54586596ec5c520a64f SHA512 89663ffb22299ad626d3f1d5129e493fb8784e6ed854b128a364407a060eec2979cd7d3c9e4f3df8e47ccb72b98ff8b18e8d53c7fb65b3455faa7344f67417a2
|
||||
DIST dotnet-sdk-5.0.301-linux-arm64.tar.gz 136933875 BLAKE2B 6c48c8a2d47ba5bed47e6176d10e273ec996686cb5a4d5b3239098ff23d44526091f7eae1ce762a2eb2f6f31420cafda84471b936082469eadc8c62aa0dcd8bf SHA512 56e233b8f35abe80984bc8a60028f4f8dbc8543313a0711045ef13c693e11e706ee4809574518f57910ec2c93bed896da32760c8143a298556dc25478caca90f
|
||||
DIST dotnet-sdk-5.0.301-linux-x64.tar.gz 142255332 BLAKE2B 172888e2eb78d2f768cff6a7e99d6473b469b7cbde74a4eab63e601d85bad118be374f330a413a9b6b3e6773340bdaef8ead4ed54a194189a50cac6b61fac556 SHA512 81cd7a3550a262d5c907030677429fa9a1cb515071274931ab760bd8bb2a14f40c9384c8757e1c1aa681b1de22035f16bf20b41ed208becd054cc9bb1f620322
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Common files shared between multiple slots of .NET"
|
||||
HOMEPAGE="https://dotnet.microsoft.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-x64.tar.gz )
|
||||
arm? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm.tar.gz )
|
||||
arm64? ( https://dotnetcli.azureedge.net/dotnet/Sdk/${PV}/dotnet-sdk-${PV}-linux-arm64.tar.gz )
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
|
||||
# The SDK includes dotnet-runtime-bin and dotnet-aspnet-bin,
|
||||
# so prevent installing them at the same time
|
||||
RDEPEND="
|
||||
!dev-dotnet/dotnet-aspnet-bin
|
||||
!dev-dotnet/dotnet-runtime-bin
|
||||
~dev-dotnet/dotnet-sdk-bin-${PV}
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
# For current .NET versions, all the directories contain versioned files,
|
||||
# but the top-level files (the dotnet binary for example) are shared between versions,
|
||||
# and those are backward-compatible.
|
||||
# The exception from this above rule is packs/NETStandard.Library.Ref which is shared between >=3.0 versions.
|
||||
# These common files are installed by the non-slotted dev-dotnet/dotnet-sdk-bin-common
|
||||
# package, while the directories are installed by dev-dotnet/dotnet-sdk-bin which uses
|
||||
# slots depending on major .NET version.
|
||||
# This makes it possible to install multiple major versions at the same time.
|
||||
default
|
||||
|
||||
# Skip the versioned files (which are located inside sub-directories)
|
||||
find . -maxdepth 1 -type d ! -name . ! -name packs -exec rm -rf {} \; || die
|
||||
find ./packs -maxdepth 1 -type d ! -name packs ! -name NETStandard.Library.Ref -exec rm -rf {} \; || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/dotnet
|
||||
doins -r "${S}/."
|
||||
dosym ../../opt/dotnet/dotnet /usr/bin/dotnet
|
||||
fperms +x /usr/bin/dotnet
|
||||
doenvd "${FILESDIR}/80dotnet"
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
DOTNET_ROOT=/opt/dotnet
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>telans@posteo.de</email>
|
||||
<name>James Beddek</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,3 +1,2 @@
|
||||
dev-dotnet
|
||||
dev-js
|
||||
dev-R
|
||||
|
||||
Reference in New Issue
Block a user