Gentoo Archives: gentoo-commits

From: Gergely Nagy <ngg@×××.hu>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/dotnet:master commit in: app-shells/pwsh-bin/
Date: Tue, 15 Sep 2020 16:44:41
Message-Id: 1600188237.df485c2d214e0bbf753c82c5b522ef09825b0813.ngg@gentoo
1 commit: df485c2d214e0bbf753c82c5b522ef09825b0813
2 Author: Gergely Nagy <ngg <AT> ngg <DOT> hu>
3 AuthorDate: Tue Sep 15 16:36:03 2020 +0000
4 Commit: Gergely Nagy <ngg <AT> ngg <DOT> hu>
5 CommitDate: Tue Sep 15 16:43:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=df485c2d
7
8 app-shells/pwsh-bin: bump to 7.0.3, dep fixes
9
10 Dependency fixes are taken from the Pentoo Overlay.
11 https://github.com/pentoo/pentoo-overlay/
12
13 Closes: https://github.com/gentoo/dotnet/issues/475
14 Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>
15
16 app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild | 40 ----------------------
17 ...pwsh-bin-7.0.0.ebuild => pwsh-bin-7.0.3.ebuild} | 13 ++++---
18 2 files changed, 8 insertions(+), 45 deletions(-)
19
20 diff --git a/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild b/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
21 deleted file mode 100644
22 index 489d417..0000000
23 --- a/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
24 +++ /dev/null
25 @@ -1,40 +0,0 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI="7"
30 -
31 -DESCRIPTION="PowerShell - binary precompiled for glibc"
32 -HOMEPAGE="https://powershell.org/"
33 -LICENSE="MIT"
34 -
35 -SRC_URI="
36 -amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
37 -"
38 -
39 -SLOT="0"
40 -KEYWORDS="~amd64"
41 -
42 -QA_PREBUILT="*"
43 -
44 -DEPEND=""
45 -RDEPEND="${DEPEND}
46 - >=sys-apps/lsb-release-1.4
47 - >=sys-libs/libunwind-1.1-r1
48 - >=dev-libs/icu-57.1
49 - >=dev-util/lttng-ust-2.8.1
50 - || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0 )
51 - >=net-misc/curl-7.49.0
52 - >=app-crypt/mit-krb5-1.14.2
53 - >=sys-libs/zlib-1.2.8-r1"
54 -BDEPEND=""
55 -
56 -S=${WORKDIR}
57 -
58 -src_install() {
59 - local dest="opt/pwsh"
60 - dodir "${dest}"
61 - local ddest="${D}/${dest}"
62 - cp -a "${S}"/* "${ddest}/" || die
63 - fperms 0755 "/${dest}/pwsh"
64 - dosym "/${dest}/pwsh" "/usr/bin/pwsh"
65 -}
66
67 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.0.3.ebuild
68 similarity index 63%
69 rename from app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
70 rename to app-shells/pwsh-bin/pwsh-bin-7.0.3.ebuild
71 index ba33111..b610cd2 100644
72 --- a/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
73 +++ b/app-shells/pwsh-bin/pwsh-bin-7.0.3.ebuild
74 @@ -1,4 +1,4 @@
75 -# Copyright 1999-2019 Gentoo Authors
76 +# Copyright 1999-2020 Gentoo Authors
77 # Distributed under the terms of the GNU General Public License v2
78
79 EAPI="7"
80 @@ -8,9 +8,9 @@ HOMEPAGE="https://powershell.org/"
81 LICENSE="MIT"
82
83 SRC_URI="
84 -amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
85 -arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
86 -arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
87 + amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
88 + arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
89 + arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
90 "
91
92 SLOT="0"
93 @@ -21,12 +21,14 @@ QA_PREBUILT="*"
94 DEPEND=""
95 RDEPEND="${DEPEND}
96 >=sys-apps/lsb-release-1.4
97 - >=sys-libs/libunwind-1.1-r1
98 + sys-libs/libcxx
99 + dev-util/lttng-ust
100 >=dev-libs/icu-57.1
101 >=dev-util/lttng-ust-2.8.1
102 || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0 )
103 >=net-misc/curl-7.49.0
104 >=app-crypt/mit-krb5-1.14.2
105 + sys-libs/pam
106 >=sys-libs/zlib-1.2.8-r1"
107 BDEPEND=""
108
109 @@ -34,6 +36,7 @@ S=${WORKDIR}
110
111 src_prepare() {
112 default
113 + #there are no these symlinks in arm bins
114 use amd64 && rm libcrypto.so.1.0.0 libssl.so.1.0.0 || die
115 }