commit: 5e8a9299450d0bb9191bb5244754bba713f01959
Author: Gergely Nagy <ngg <AT> ngg <DOT> hu>
AuthorDate: Thu Feb 4 06:51:15 2021 +0000
Commit: Gergely Nagy <ngg <AT> ngg <DOT> hu>
CommitDate: Thu Feb 4 06:51:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=5e8a9299
dev-dotnet/dotnetcore-sdk-bin{-common}: remove EOL 2.2, 3.0 versions
Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>
.../dotnetcore-sdk-bin-common-2.2.207.ebuild | 57 ------------------
.../dotnetcore-sdk-bin-common-3.0.103.ebuild | 59 -------------------
.../dotnetcore-sdk-bin-2.2.207.ebuild | 65 ---------------------
.../dotnetcore-sdk-bin-3.0.103.ebuild | 67 ----------------------
4 files changed, 248 deletions(-)
diff --git
a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild
b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild
deleted file mode 100644
index d90541c..0000000
---
a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit eutils
-
-DESCRIPTION="Common files shared between multiple slots of .NET Core"
-HOMEPAGE="https://www.microsoft.com/net/core"
-LICENSE="MIT"
-
-SRC_URI="
-amd64? (
https://download.visualstudio.microsoft.com/download/pr/022d9abf-35f0-4fd5-8d1c-86056df76e89/477f1ebb70f314054129a9f51e9ec8ec/dotnet-sdk-${PV}-linux-x64.tar.gz
)
-"
-
-SLOT="0"
-KEYWORDS=""
-
-QA_PREBUILT="*"
-RESTRICT="splitdebug"
-
-# The sdk includes the runtime-bin and aspnet-bin so prevent from installing
at the same time
-# dotnetcore-sdk is the source based build
-
-RDEPEND="
- ~dev-dotnet/dotnetcore-sdk-bin-${PV}
- !dev-dotnet/dotnetcore-sdk-bin:0"
-
-S=${WORKDIR}
-
-src_prepare() {
- default
-
- # For current .NET Core 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.
- # These common files are installed by the non-slotted
dev-dotnet/dotnetcore-sdk-bin-common
- # package, while the directories are installed by
dev-dotnet/dotnetcore-sdk-bin which uses
- # slots depending on major .NET Core version.
- # This makes it possible to install multiple major versions at the same
time.
-
- # Skip the versioned files (which are located inside sub-directories)
- find . -maxdepth 1 -type d ! -name . -exec rm -rf {} \; || die
-}
-
-src_install() {
- local dest="opt/dotnet_core"
- dodir "${dest}"
-
- local ddest="${D}/${dest}"
- cp -a "${S}"/* "${ddest}/" || die
- dosym "/${dest}/dotnet" "/usr/bin/dotnet"
-
- # set an env-variable for 3rd party tools
- echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet"
- doenvd "${T}/90dotnet"
-}
diff --git
a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild
b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild
deleted file mode 100644
index 6a74787..0000000
---
a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit eutils
-
-DESCRIPTION="Common files shared between multiple slots of .NET Core"
-HOMEPAGE="https://www.microsoft.com/net/core"
-LICENSE="MIT"
-
-SRC_URI="
-amd64? (
https://download.visualstudio.microsoft.com/download/pr/43f3a3bd-3df2-41e6-beca-3ec4952ca6c4/30fe7779249607d1bb3bb4b20d61a479/dotnet-sdk-${PV}-linux-x64.tar.gz
)
-"
-
-SLOT="0"
-KEYWORDS=""
-
-QA_PREBUILT="*"
-RESTRICT="splitdebug"
-
-# The sdk includes the runtime-bin and aspnet-bin so prevent from installing
at the same time
-# dotnetcore-sdk is the source based build
-
-RDEPEND="
- ~dev-dotnet/dotnetcore-sdk-bin-${PV}
- !dev-dotnet/dotnetcore-sdk-bin:0"
-
-S=${WORKDIR}
-
-src_prepare() {
- default
-
- # For current .NET Core 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/dotnetcore-sdk-bin-common
- # package, while the directories are installed by
dev-dotnet/dotnetcore-sdk-bin which uses
- # slots depending on major .NET Core version.
- # This makes it possible to install multiple major versions at the same
time.
-
- # 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() {
- local dest="opt/dotnet_core"
- dodir "${dest}"
-
- local ddest="${D}/${dest}"
- cp -a "${S}"/* "${ddest}/" || die
- dosym "/${dest}/dotnet" "/usr/bin/dotnet"
-
- # set an env-variable for 3rd party tools
- echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet"
- doenvd "${T}/90dotnet"
-}
diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.207.ebuild
b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.207.ebuild
deleted file mode 100644
index 381544d..0000000
--- a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.207.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit eutils
-
-DESCRIPTION=".NET Core SDK - binary precompiled for glibc"
-HOMEPAGE="https://www.microsoft.com/net/core"
-LICENSE="MIT"
-
-SRC_URI="
-amd64? (
https://download.visualstudio.microsoft.com/download/pr/022d9abf-35f0-4fd5-8d1c-86056df76e89/477f1ebb70f314054129a9f51e9ec8ec/dotnet-sdk-${PV}-linux-x64.tar.gz
)
-"
-
-SLOT="2.2"
-KEYWORDS=""
-
-QA_PREBUILT="*"
-RESTRICT="splitdebug"
-
-# The sdk includes the runtime-bin and aspnet-bin so prevent from installing
at the same time
-# dotnetcore-sdk is the source based build
-
-RDEPEND="
- >=dev-dotnet/dotnetcore-sdk-bin-common-${PV}
- >=sys-apps/lsb-release-1.4
- >=sys-devel/llvm-4.0
- >=dev-util/lldb-4.0
- >=sys-libs/libunwind-1.1-r1
- >=dev-libs/icu-57.1
- >=dev-util/lttng-ust-2.8.1
- || ( >=dev-libs/openssl-1.0.2h-r2 >=dev-libs/openssl-compat-1.0.2h-r2 )
- >=net-misc/curl-7.49.0
- >=app-crypt/mit-krb5-1.14.2
- >=sys-libs/zlib-1.2.8-r1
- !dev-dotnet/dotnetcore-sdk
- !dev-dotnet/dotnetcore-sdk-bin:0
- !dev-dotnet/dotnetcore-runtime-bin
- !dev-dotnet/dotnetcore-aspnet-bin"
-
-S=${WORKDIR}
-
-src_prepare() {
- default
-
- # For current .NET Core 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.
- # These common files are installed by the non-slotted
dev-dotnet/dotnetcore-sdk-bin-common
- # package, while the directories are installed by
dev-dotnet/dotnetcore-sdk-bin which uses
- # slots depending on major .NET Core version.
- # This makes it possible to install multiple major versions at the same
time.
-
- # Skip the common files
- find . -maxdepth 1 -type f -exec rm -f {} \; || die
-}
-
-src_install() {
- local dest="opt/dotnet_core"
- dodir "${dest}"
-
- local ddest="${D}/${dest}"
- cp -a "${S}"/* "${ddest}/" || die
-}
diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-3.0.103.ebuild
b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-3.0.103.ebuild
deleted file mode 100644
index 2a612ec..0000000
--- a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-3.0.103.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit eutils
-
-DESCRIPTION=".NET Core SDK - binary precompiled for glibc"
-HOMEPAGE="https://www.microsoft.com/net/core"
-LICENSE="MIT"
-
-SRC_URI="
-amd64? (
https://download.visualstudio.microsoft.com/download/pr/43f3a3bd-3df2-41e6-beca-3ec4952ca6c4/30fe7779249607d1bb3bb4b20d61a479/dotnet-sdk-${PV}-linux-x64.tar.gz
)
-"
-
-SLOT="3.0"
-KEYWORDS=""
-
-QA_PREBUILT="*"
-RESTRICT="splitdebug"
-
-# The sdk includes the runtime-bin and aspnet-bin so prevent from installing
at the same time
-# dotnetcore-sdk is the source based build
-
-RDEPEND="
- >=dev-dotnet/dotnetcore-sdk-bin-common-${PV}
- >=sys-apps/lsb-release-1.4
- >=sys-devel/llvm-4.0
- >=dev-util/lldb-4.0
- >=sys-libs/libunwind-1.1-r1
- >=dev-libs/icu-57.1
- >=dev-util/lttng-ust-2.8.1
- || ( >=dev-libs/openssl-1.0.2h-r2 >=dev-libs/openssl-compat-1.0.2h-r2 )
- >=net-misc/curl-7.49.0
- >=app-crypt/mit-krb5-1.14.2
- >=sys-libs/zlib-1.2.8-r1
- !dev-dotnet/dotnetcore-sdk
- !dev-dotnet/dotnetcore-sdk-bin:0
- !dev-dotnet/dotnetcore-runtime-bin
- !dev-dotnet/dotnetcore-aspnet-bin"
-
-S=${WORKDIR}
-
-src_prepare() {
- default
-
- # For current .NET Core 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/dotnetcore-sdk-bin-common
- # package, while the directories are installed by
dev-dotnet/dotnetcore-sdk-bin which uses
- # slots depending on major .NET Core version.
- # This makes it possible to install multiple major versions at the same
time.
-
- # Skip the common files
- find . -maxdepth 1 -type f -exec rm -f {} \; || die
- rm -rf ./packs/NETStandard.Library.Ref || die
-}
-
-src_install() {
- local dest="opt/dotnet_core"
- dodir "${dest}"
-
- local ddest="${D}/${dest}"
- cp -a "${S}"/* "${ddest}/" || die
-}