Gentoo Archives: gentoo-commits

From: Gergely Nagy <ngg@×××.hu>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/dotnet:master commit in: dev-dotnet/dotnetcore-sdk-bin/, dev-dotnet/dotnetcore-sdk-bin-common/
Date: Thu, 04 Feb 2021 06:51:45
Message-Id: 1612421475.5e8a9299450d0bb9191bb5244754bba713f01959.ngg@gentoo
1 commit: 5e8a9299450d0bb9191bb5244754bba713f01959
2 Author: Gergely Nagy <ngg <AT> ngg <DOT> hu>
3 AuthorDate: Thu Feb 4 06:51:15 2021 +0000
4 Commit: Gergely Nagy <ngg <AT> ngg <DOT> hu>
5 CommitDate: Thu Feb 4 06:51:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=5e8a9299
7
8 dev-dotnet/dotnetcore-sdk-bin{-common}: remove EOL 2.2, 3.0 versions
9
10 Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>
11
12 .../dotnetcore-sdk-bin-common-2.2.207.ebuild | 57 ------------------
13 .../dotnetcore-sdk-bin-common-3.0.103.ebuild | 59 -------------------
14 .../dotnetcore-sdk-bin-2.2.207.ebuild | 65 ---------------------
15 .../dotnetcore-sdk-bin-3.0.103.ebuild | 67 ----------------------
16 4 files changed, 248 deletions(-)
17
18 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
19 deleted file mode 100644
20 index d90541c..0000000
21 --- a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-2.2.207.ebuild
22 +++ /dev/null
23 @@ -1,57 +0,0 @@
24 -# Copyright 1999-2019 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI="7"
28 -
29 -inherit eutils
30 -
31 -DESCRIPTION="Common files shared between multiple slots of .NET Core"
32 -HOMEPAGE="https://www.microsoft.com/net/core"
33 -LICENSE="MIT"
34 -
35 -SRC_URI="
36 -amd64? ( https://download.visualstudio.microsoft.com/download/pr/022d9abf-35f0-4fd5-8d1c-86056df76e89/477f1ebb70f314054129a9f51e9ec8ec/dotnet-sdk-${PV}-linux-x64.tar.gz )
37 -"
38 -
39 -SLOT="0"
40 -KEYWORDS=""
41 -
42 -QA_PREBUILT="*"
43 -RESTRICT="splitdebug"
44 -
45 -# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time
46 -# dotnetcore-sdk is the source based build
47 -
48 -RDEPEND="
49 - ~dev-dotnet/dotnetcore-sdk-bin-${PV}
50 - !dev-dotnet/dotnetcore-sdk-bin:0"
51 -
52 -S=${WORKDIR}
53 -
54 -src_prepare() {
55 - default
56 -
57 - # For current .NET Core versions, all the directories contain versioned files,
58 - # but the top-level files (the dotnet binary for example) are shared between versions,
59 - # and those are backward-compatible.
60 - # These common files are installed by the non-slotted dev-dotnet/dotnetcore-sdk-bin-common
61 - # package, while the directories are installed by dev-dotnet/dotnetcore-sdk-bin which uses
62 - # slots depending on major .NET Core version.
63 - # This makes it possible to install multiple major versions at the same time.
64 -
65 - # Skip the versioned files (which are located inside sub-directories)
66 - find . -maxdepth 1 -type d ! -name . -exec rm -rf {} \; || die
67 -}
68 -
69 -src_install() {
70 - local dest="opt/dotnet_core"
71 - dodir "${dest}"
72 -
73 - local ddest="${D}/${dest}"
74 - cp -a "${S}"/* "${ddest}/" || die
75 - dosym "/${dest}/dotnet" "/usr/bin/dotnet"
76 -
77 - # set an env-variable for 3rd party tools
78 - echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet"
79 - doenvd "${T}/90dotnet"
80 -}
81
82 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
83 deleted file mode 100644
84 index 6a74787..0000000
85 --- a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-3.0.103.ebuild
86 +++ /dev/null
87 @@ -1,59 +0,0 @@
88 -# Copyright 1999-2019 Gentoo Authors
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI="7"
92 -
93 -inherit eutils
94 -
95 -DESCRIPTION="Common files shared between multiple slots of .NET Core"
96 -HOMEPAGE="https://www.microsoft.com/net/core"
97 -LICENSE="MIT"
98 -
99 -SRC_URI="
100 -amd64? ( https://download.visualstudio.microsoft.com/download/pr/43f3a3bd-3df2-41e6-beca-3ec4952ca6c4/30fe7779249607d1bb3bb4b20d61a479/dotnet-sdk-${PV}-linux-x64.tar.gz )
101 -"
102 -
103 -SLOT="0"
104 -KEYWORDS=""
105 -
106 -QA_PREBUILT="*"
107 -RESTRICT="splitdebug"
108 -
109 -# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time
110 -# dotnetcore-sdk is the source based build
111 -
112 -RDEPEND="
113 - ~dev-dotnet/dotnetcore-sdk-bin-${PV}
114 - !dev-dotnet/dotnetcore-sdk-bin:0"
115 -
116 -S=${WORKDIR}
117 -
118 -src_prepare() {
119 - default
120 -
121 - # For current .NET Core versions, all the directories contain versioned files,
122 - # but the top-level files (the dotnet binary for example) are shared between versions,
123 - # and those are backward-compatible.
124 - # The exception from this above rule is packs/NETStandard.Library.Ref which is shared between >=3.0 versions.
125 - # These common files are installed by the non-slotted dev-dotnet/dotnetcore-sdk-bin-common
126 - # package, while the directories are installed by dev-dotnet/dotnetcore-sdk-bin which uses
127 - # slots depending on major .NET Core version.
128 - # This makes it possible to install multiple major versions at the same time.
129 -
130 - # Skip the versioned files (which are located inside sub-directories)
131 - find . -maxdepth 1 -type d ! -name . ! -name packs -exec rm -rf {} \; || die
132 - find ./packs -maxdepth 1 -type d ! -name packs ! -name NETStandard.Library.Ref -exec rm -rf {} \; || die
133 -}
134 -
135 -src_install() {
136 - local dest="opt/dotnet_core"
137 - dodir "${dest}"
138 -
139 - local ddest="${D}/${dest}"
140 - cp -a "${S}"/* "${ddest}/" || die
141 - dosym "/${dest}/dotnet" "/usr/bin/dotnet"
142 -
143 - # set an env-variable for 3rd party tools
144 - echo -n "DOTNET_ROOT=/${dest}" > "${T}/90dotnet"
145 - doenvd "${T}/90dotnet"
146 -}
147
148 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
149 deleted file mode 100644
150 index 381544d..0000000
151 --- a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-2.2.207.ebuild
152 +++ /dev/null
153 @@ -1,65 +0,0 @@
154 -# Copyright 1999-2019 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI="7"
158 -
159 -inherit eutils
160 -
161 -DESCRIPTION=".NET Core SDK - binary precompiled for glibc"
162 -HOMEPAGE="https://www.microsoft.com/net/core"
163 -LICENSE="MIT"
164 -
165 -SRC_URI="
166 -amd64? ( https://download.visualstudio.microsoft.com/download/pr/022d9abf-35f0-4fd5-8d1c-86056df76e89/477f1ebb70f314054129a9f51e9ec8ec/dotnet-sdk-${PV}-linux-x64.tar.gz )
167 -"
168 -
169 -SLOT="2.2"
170 -KEYWORDS=""
171 -
172 -QA_PREBUILT="*"
173 -RESTRICT="splitdebug"
174 -
175 -# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time
176 -# dotnetcore-sdk is the source based build
177 -
178 -RDEPEND="
179 - >=dev-dotnet/dotnetcore-sdk-bin-common-${PV}
180 - >=sys-apps/lsb-release-1.4
181 - >=sys-devel/llvm-4.0
182 - >=dev-util/lldb-4.0
183 - >=sys-libs/libunwind-1.1-r1
184 - >=dev-libs/icu-57.1
185 - >=dev-util/lttng-ust-2.8.1
186 - || ( >=dev-libs/openssl-1.0.2h-r2 >=dev-libs/openssl-compat-1.0.2h-r2 )
187 - >=net-misc/curl-7.49.0
188 - >=app-crypt/mit-krb5-1.14.2
189 - >=sys-libs/zlib-1.2.8-r1
190 - !dev-dotnet/dotnetcore-sdk
191 - !dev-dotnet/dotnetcore-sdk-bin:0
192 - !dev-dotnet/dotnetcore-runtime-bin
193 - !dev-dotnet/dotnetcore-aspnet-bin"
194 -
195 -S=${WORKDIR}
196 -
197 -src_prepare() {
198 - default
199 -
200 - # For current .NET Core versions, all the directories contain versioned files,
201 - # but the top-level files (the dotnet binary for example) are shared between versions,
202 - # and those are backward-compatible.
203 - # These common files are installed by the non-slotted dev-dotnet/dotnetcore-sdk-bin-common
204 - # package, while the directories are installed by dev-dotnet/dotnetcore-sdk-bin which uses
205 - # slots depending on major .NET Core version.
206 - # This makes it possible to install multiple major versions at the same time.
207 -
208 - # Skip the common files
209 - find . -maxdepth 1 -type f -exec rm -f {} \; || die
210 -}
211 -
212 -src_install() {
213 - local dest="opt/dotnet_core"
214 - dodir "${dest}"
215 -
216 - local ddest="${D}/${dest}"
217 - cp -a "${S}"/* "${ddest}/" || die
218 -}
219
220 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
221 deleted file mode 100644
222 index 2a612ec..0000000
223 --- a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-3.0.103.ebuild
224 +++ /dev/null
225 @@ -1,67 +0,0 @@
226 -# Copyright 1999-2019 Gentoo Authors
227 -# Distributed under the terms of the GNU General Public License v2
228 -
229 -EAPI="7"
230 -
231 -inherit eutils
232 -
233 -DESCRIPTION=".NET Core SDK - binary precompiled for glibc"
234 -HOMEPAGE="https://www.microsoft.com/net/core"
235 -LICENSE="MIT"
236 -
237 -SRC_URI="
238 -amd64? ( https://download.visualstudio.microsoft.com/download/pr/43f3a3bd-3df2-41e6-beca-3ec4952ca6c4/30fe7779249607d1bb3bb4b20d61a479/dotnet-sdk-${PV}-linux-x64.tar.gz )
239 -"
240 -
241 -SLOT="3.0"
242 -KEYWORDS=""
243 -
244 -QA_PREBUILT="*"
245 -RESTRICT="splitdebug"
246 -
247 -# The sdk includes the runtime-bin and aspnet-bin so prevent from installing at the same time
248 -# dotnetcore-sdk is the source based build
249 -
250 -RDEPEND="
251 - >=dev-dotnet/dotnetcore-sdk-bin-common-${PV}
252 - >=sys-apps/lsb-release-1.4
253 - >=sys-devel/llvm-4.0
254 - >=dev-util/lldb-4.0
255 - >=sys-libs/libunwind-1.1-r1
256 - >=dev-libs/icu-57.1
257 - >=dev-util/lttng-ust-2.8.1
258 - || ( >=dev-libs/openssl-1.0.2h-r2 >=dev-libs/openssl-compat-1.0.2h-r2 )
259 - >=net-misc/curl-7.49.0
260 - >=app-crypt/mit-krb5-1.14.2
261 - >=sys-libs/zlib-1.2.8-r1
262 - !dev-dotnet/dotnetcore-sdk
263 - !dev-dotnet/dotnetcore-sdk-bin:0
264 - !dev-dotnet/dotnetcore-runtime-bin
265 - !dev-dotnet/dotnetcore-aspnet-bin"
266 -
267 -S=${WORKDIR}
268 -
269 -src_prepare() {
270 - default
271 -
272 - # For current .NET Core versions, all the directories contain versioned files,
273 - # but the top-level files (the dotnet binary for example) are shared between versions,
274 - # and those are backward-compatible.
275 - # The exception from this above rule is packs/NETStandard.Library.Ref which is shared between >=3.0 versions.
276 - # These common files are installed by the non-slotted dev-dotnet/dotnetcore-sdk-bin-common
277 - # package, while the directories are installed by dev-dotnet/dotnetcore-sdk-bin which uses
278 - # slots depending on major .NET Core version.
279 - # This makes it possible to install multiple major versions at the same time.
280 -
281 - # Skip the common files
282 - find . -maxdepth 1 -type f -exec rm -f {} \; || die
283 - rm -rf ./packs/NETStandard.Library.Ref || die
284 -}
285 -
286 -src_install() {
287 - local dest="opt/dotnet_core"
288 - dodir "${dest}"
289 -
290 - local ddest="${D}/${dest}"
291 - cp -a "${S}"/* "${ddest}/" || die
292 -}