From d035f0c7bb14451b2ea193c8794cbe729c8fc962 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 15 Sep 2020 18:00:15 +0200 Subject: dev-dotnet/dotnetcore-sdk-bin(-common): bump to 5.0.100_rc1 Signed-off-by: Gergely Nagy --- dev-dotnet/dotnetcore-sdk-bin-common/Manifest | 4 +- .../dotnetcore-sdk-bin-common-5.0.100_pre8.ebuild | 59 ------------------ .../dotnetcore-sdk-bin-common-5.0.100_rc1.ebuild | 61 +++++++++++++++++++ dev-dotnet/dotnetcore-sdk-bin/Manifest | 6 +- .../dotnetcore-sdk-bin-5.0.100_pre8.ebuild | 68 --------------------- .../dotnetcore-sdk-bin-5.0.100_rc1.ebuild | 69 ++++++++++++++++++++++ 6 files changed, 136 insertions(+), 131 deletions(-) delete mode 100644 dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_pre8.ebuild create mode 100644 dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_rc1.ebuild delete mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_pre8.ebuild create mode 100644 dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_rc1.ebuild diff --git a/dev-dotnet/dotnetcore-sdk-bin-common/Manifest b/dev-dotnet/dotnetcore-sdk-bin-common/Manifest index 8b8dafc..b4e95de 100644 --- a/dev-dotnet/dotnetcore-sdk-bin-common/Manifest +++ b/dev-dotnet/dotnetcore-sdk-bin-common/Manifest @@ -2,4 +2,6 @@ DIST dotnet-sdk-2.1.810-linux-x64.tar.gz 167569727 SHA256 3856c888ed777818f6e4fb DIST dotnet-sdk-2.2.207-linux-x64.tar.gz 169751938 SHA256 4fb5fb9956e9e019c3eef093cc65c676df9874f715c76eb8638f3aa057ba28cd SHA512 9d70b4a8a63b66da90544087199a0f681d135bf90d43ca53b12ea97cc600a768b0a3d2f824cfe27bd3228e058b060c63319cd86033be8b8d27925283f99de958 WHIRLPOOL ffa824890a4b9017d86c8cb61e233cc8ccaf18de745b8273298c7fd069af6e41ba7ff728e1046b21711d74b99463a09bbc828825857b4106bc54dcd7af692a5a DIST dotnet-sdk-3.0.103-linux-x64.tar.gz 113824273 SHA256 4a2a37c0c4df9efbb22f2c00b58ac4bda95f78f6015e6fe0f1915b1ceb425ce2 SHA512 22acd337c1f837c586b9d0e3581feeba828c7d6dc64e4c6c9b24bdc6159c635eb7019c3fb0534edeb4f84971e9c3584c7e3a4d80854cf5664d2792ee8fde189b WHIRLPOOL c3417c1810898afc72ecd8a0ea4086176d542d00c5786f3547595f6e3bbb0466139afddde8e7ebefcaa2c25c3b9bb2bdfd072a43057c4c8860ebc3125a40bc44 DIST dotnet-sdk-3.1.402-linux-x64.tar.gz 121084122 SHA256 2b6b172f9483e499141e37a6b932a547d9476bf03f3e71a0fefb76c52e01a9ee SHA512 42154efb5ad66ae3dcc300b2c0573a9537dd916fc48cbae92885a63a0b6d7f7c3a4366ca2298107783bc1f1913328f35e778dcda378da276cff3b8269495d5be WHIRLPOOL 11bc65b3676265ba2844c62b284eb8d3082279405dded33a915c1d8cd1c41713785d4420f29dfde81cb8860efb7a91a7b501a3a358584be516814024168e100b -DIST dotnet-sdk-5.0.100-preview.8.20417.9-linux-x64.tar.gz 145468826 SHA256 fb9b317b1006d00ce3cd76d63ea90f2c912f037ce5d9e99176f9199c35cb1bcf SHA512 0d86c9c2663b635154238fe39fbe32b498a75102851017f27152dccd856e9a1ed48ae44cf1a2b19a5388ea3c4c3f8f2c01a35cd978e52d2350c060394b924a94 WHIRLPOOL 36f5f35efdd571a3eb9eaaa9a28ec200cebc506a0868e390ead11212c1799022d1b3b8b3a2db85254f9710d50fb5d078ab4df0493975261c2657b70325ff3030 +DIST dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm.tar.gz 137182952 SHA256 fa066ef70b0a8c299ee8b49a957689055b79c875551f0674f725eb1f53707310 SHA512 b0e6627497ced9d09fad9c48d266bd4cb94727dc254d8b4a79d445732669c14f5d9592a98c0452cb25ae5eb4f642373f544418e36873b33f0f3dd94f14003e26 WHIRLPOOL 8799cfebf16d5a91f5562f4495b0d63b424e2584d1364ff2d483a232fc27e2d41bd4f7fcb8535dea55463de66b43f1f91c8267263258e45aca9590e283c9423f +DIST dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm64.tar.gz 135005377 SHA256 5386f08dd57caabb8e4241d671a40937a3d51c3426516370fbc057c88f514ea8 SHA512 2d04890c71e845d1eb08f5dfbbb9c93024d7a52fb1cc3fd50bd51bc6bd44e455c5c82abc8f04eef23bd012984ae5f86143c600ceb49c4c733935d95d5b68785f WHIRLPOOL 65b4ee99d0c17ac5947f38d2163aeed77eed904aeac28be911b2ef8297ddee63d0da3b783854c90a6d99f0d8ec2efbd05ed6835c4cff01b00c673a17955cce31 +DIST dotnet-sdk-5.0.100-rc.1.20452.10-linux-x64.tar.gz 140200828 SHA256 14833f32cb661bf10040e046e92c8de8650e38a78be2420856a5bcc410dc586b SHA512 d7e709dacc4bb188c2380060d24bfb5b791240dc33af8499fb4a31e1885a9377dad1d1ebc76847432ea67d5e4ac832a31679dc293e09fa6dade28f5fbbe4db9b WHIRLPOOL 58edcc68744a0def1fe922eb83491b250b98ccd421f5ec9526e9a0af9c0a698d3c6758b67221109c11318ffcdc12751313e5a31f11498dcf0c41ee1ff15e12bb diff --git a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_pre8.ebuild b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_pre8.ebuild deleted file mode 100644 index 9a98409..0000000 --- a/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_pre8.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/c58adb8a-49cf-466c-9b72-e4c51edae0e5/f915b953a5bfdafc300bd277d80c3513/dotnet-sdk-5.0.100-preview.8.20417.9-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-common/dotnetcore-sdk-bin-common-5.0.100_rc1.ebuild b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_rc1.ebuild new file mode 100644 index 0000000..b615716 --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin-common/dotnetcore-sdk-bin-common-5.0.100_rc1.ebuild @@ -0,0 +1,61 @@ +# 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/e5536fae-e963-4fa6-a203-15604c7d703a/d0968c03feeeed41c2428854e13c0085/dotnet-sdk-5.0.100-rc.1.20452.10-linux-x64.tar.gz ) +arm? ( https://download.visualstudio.microsoft.com/download/pr/e6456209-63c8-43fc-ba2d-11c43c9eacd5/3a12e6bae9ff57c1964eb83cb01604b6/dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm.tar.gz ) +arm64? ( https://download.visualstudio.microsoft.com/download/pr/8f24c20f-cf36-44bb-9405-becc781e6a1c/b5d8a40cde8b4525ea65ac4e5c7250d5/dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm64.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/Manifest b/dev-dotnet/dotnetcore-sdk-bin/Manifest index 2cac891..b4e95de 100644 --- a/dev-dotnet/dotnetcore-sdk-bin/Manifest +++ b/dev-dotnet/dotnetcore-sdk-bin/Manifest @@ -2,6 +2,6 @@ DIST dotnet-sdk-2.1.810-linux-x64.tar.gz 167569727 SHA256 3856c888ed777818f6e4fb DIST dotnet-sdk-2.2.207-linux-x64.tar.gz 169751938 SHA256 4fb5fb9956e9e019c3eef093cc65c676df9874f715c76eb8638f3aa057ba28cd SHA512 9d70b4a8a63b66da90544087199a0f681d135bf90d43ca53b12ea97cc600a768b0a3d2f824cfe27bd3228e058b060c63319cd86033be8b8d27925283f99de958 WHIRLPOOL ffa824890a4b9017d86c8cb61e233cc8ccaf18de745b8273298c7fd069af6e41ba7ff728e1046b21711d74b99463a09bbc828825857b4106bc54dcd7af692a5a DIST dotnet-sdk-3.0.103-linux-x64.tar.gz 113824273 SHA256 4a2a37c0c4df9efbb22f2c00b58ac4bda95f78f6015e6fe0f1915b1ceb425ce2 SHA512 22acd337c1f837c586b9d0e3581feeba828c7d6dc64e4c6c9b24bdc6159c635eb7019c3fb0534edeb4f84971e9c3584c7e3a4d80854cf5664d2792ee8fde189b WHIRLPOOL c3417c1810898afc72ecd8a0ea4086176d542d00c5786f3547595f6e3bbb0466139afddde8e7ebefcaa2c25c3b9bb2bdfd072a43057c4c8860ebc3125a40bc44 DIST dotnet-sdk-3.1.402-linux-x64.tar.gz 121084122 SHA256 2b6b172f9483e499141e37a6b932a547d9476bf03f3e71a0fefb76c52e01a9ee SHA512 42154efb5ad66ae3dcc300b2c0573a9537dd916fc48cbae92885a63a0b6d7f7c3a4366ca2298107783bc1f1913328f35e778dcda378da276cff3b8269495d5be WHIRLPOOL 11bc65b3676265ba2844c62b284eb8d3082279405dded33a915c1d8cd1c41713785d4420f29dfde81cb8860efb7a91a7b501a3a358584be516814024168e100b -DIST dotnet-sdk-5.0.100-preview.8.20417.9-linux-arm.tar.gz 142113760 SHA256 765a84d51ad9c1ee35c89564cf45e71b47b12cee7b8732a9196e7772a5db9256 SHA512 d6ecc2b9d58deb758a5662b1f2234163375f5893f68a922bbff0764e8848c158867087733d4c1d7f056a9f3141200694c7bb7de5d3b044a89edaefa75e8416d5 WHIRLPOOL 018fa2b577bbbbf7c5d55b587819ab4ff60c39815ef343f0fd7503a2893098cb9bd2c2361a0fd17a5a1f00bf978d785d42a747f048276dfea4a3e8d766770fad -DIST dotnet-sdk-5.0.100-preview.8.20417.9-linux-arm64.tar.gz 139811909 SHA256 626400238c27c92f37ec9ee98a8e57c6523b933fe6131edd85ff81129a08c4d7 SHA512 129e654636f84a23d486efb5064951128af6e691b3a00010a873721c28c9e88220e0f1e20b8c1c4515d36b018fabc1ec88cd496e6793d246c625198571b8b27e WHIRLPOOL 16bbf5d7de363cd197fe6ce19ed31101221d4202f5a4ec1f94bd2723c639758495826e283c8092f1322774b64335a76c2075223c1b7ef276643f40ff50b247eb -DIST dotnet-sdk-5.0.100-preview.8.20417.9-linux-x64.tar.gz 145468826 SHA256 fb9b317b1006d00ce3cd76d63ea90f2c912f037ce5d9e99176f9199c35cb1bcf SHA512 0d86c9c2663b635154238fe39fbe32b498a75102851017f27152dccd856e9a1ed48ae44cf1a2b19a5388ea3c4c3f8f2c01a35cd978e52d2350c060394b924a94 WHIRLPOOL 36f5f35efdd571a3eb9eaaa9a28ec200cebc506a0868e390ead11212c1799022d1b3b8b3a2db85254f9710d50fb5d078ab4df0493975261c2657b70325ff3030 +DIST dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm.tar.gz 137182952 SHA256 fa066ef70b0a8c299ee8b49a957689055b79c875551f0674f725eb1f53707310 SHA512 b0e6627497ced9d09fad9c48d266bd4cb94727dc254d8b4a79d445732669c14f5d9592a98c0452cb25ae5eb4f642373f544418e36873b33f0f3dd94f14003e26 WHIRLPOOL 8799cfebf16d5a91f5562f4495b0d63b424e2584d1364ff2d483a232fc27e2d41bd4f7fcb8535dea55463de66b43f1f91c8267263258e45aca9590e283c9423f +DIST dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm64.tar.gz 135005377 SHA256 5386f08dd57caabb8e4241d671a40937a3d51c3426516370fbc057c88f514ea8 SHA512 2d04890c71e845d1eb08f5dfbbb9c93024d7a52fb1cc3fd50bd51bc6bd44e455c5c82abc8f04eef23bd012984ae5f86143c600ceb49c4c733935d95d5b68785f WHIRLPOOL 65b4ee99d0c17ac5947f38d2163aeed77eed904aeac28be911b2ef8297ddee63d0da3b783854c90a6d99f0d8ec2efbd05ed6835c4cff01b00c673a17955cce31 +DIST dotnet-sdk-5.0.100-rc.1.20452.10-linux-x64.tar.gz 140200828 SHA256 14833f32cb661bf10040e046e92c8de8650e38a78be2420856a5bcc410dc586b SHA512 d7e709dacc4bb188c2380060d24bfb5b791240dc33af8499fb4a31e1885a9377dad1d1ebc76847432ea67d5e4ac832a31679dc293e09fa6dade28f5fbbe4db9b WHIRLPOOL 58edcc68744a0def1fe922eb83491b250b98ccd421f5ec9526e9a0af9c0a698d3c6758b67221109c11318ffcdc12751313e5a31f11498dcf0c41ee1ff15e12bb diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_pre8.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_pre8.ebuild deleted file mode 100644 index aeb0f5f..0000000 --- a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_pre8.ebuild +++ /dev/null @@ -1,68 +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/c58adb8a-49cf-466c-9b72-e4c51edae0e5/f915b953a5bfdafc300bd277d80c3513/dotnet-sdk-5.0.100-preview.8.20417.9-linux-x64.tar.gz ) -arm? ( https://download.visualstudio.microsoft.com/download/pr/372de9c1-b63c-4df8-9250-00e107c1d6f7/ee94093420b5c001eaabecdb41621950/dotnet-sdk-5.0.100-preview.8.20417.9-linux-arm.tar.gz ) -arm64? ( https://download.visualstudio.microsoft.com/download/pr/a1e93182-8026-4330-b78a-ee7d721107a2/003c59fc228a220df40d90d5ac434873/dotnet-sdk-5.0.100-preview.8.20417.9-linux-arm64.tar.gz )" - -SLOT="5.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 - >=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 -} diff --git a/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_rc1.ebuild b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_rc1.ebuild new file mode 100644 index 0000000..39630d4 --- /dev/null +++ b/dev-dotnet/dotnetcore-sdk-bin/dotnetcore-sdk-bin-5.0.100_rc1.ebuild @@ -0,0 +1,69 @@ +# 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/e5536fae-e963-4fa6-a203-15604c7d703a/d0968c03feeeed41c2428854e13c0085/dotnet-sdk-5.0.100-rc.1.20452.10-linux-x64.tar.gz ) +arm? ( https://download.visualstudio.microsoft.com/download/pr/e6456209-63c8-43fc-ba2d-11c43c9eacd5/3a12e6bae9ff57c1964eb83cb01604b6/dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm.tar.gz ) +arm64? ( https://download.visualstudio.microsoft.com/download/pr/8f24c20f-cf36-44bb-9405-becc781e6a1c/b5d8a40cde8b4525ea65ac4e5c7250d5/dotnet-sdk-5.0.100-rc.1.20452.10-linux-arm64.tar.gz ) +" + +SLOT="5.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 + >=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 +} -- cgit v1.2.3-65-gdbad