commit:     df485c2d214e0bbf753c82c5b522ef09825b0813
Author:     Gergely Nagy <ngg <AT> ngg <DOT> hu>
AuthorDate: Tue Sep 15 16:36:03 2020 +0000
Commit:     Gergely Nagy <ngg <AT> ngg <DOT> hu>
CommitDate: Tue Sep 15 16:43:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=df485c2d

app-shells/pwsh-bin: bump to 7.0.3, dep fixes

Dependency fixes are taken from the Pentoo Overlay.
https://github.com/pentoo/pentoo-overlay/

Closes: https://github.com/gentoo/dotnet/issues/475
Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>

 app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild          | 40 ----------------------
 ...pwsh-bin-7.0.0.ebuild => pwsh-bin-7.0.3.ebuild} | 13 ++++---
 2 files changed, 8 insertions(+), 45 deletions(-)

diff --git a/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild 
b/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
deleted file mode 100644
index 489d417..0000000
--- a/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DESCRIPTION="PowerShell - binary precompiled for glibc"
-HOMEPAGE="https://powershell.org/";
-LICENSE="MIT"
-
-SRC_URI="
-amd64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz
 )
-"
-
-SLOT="0"
-KEYWORDS="~amd64"
-
-QA_PREBUILT="*"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-       >=sys-apps/lsb-release-1.4
-       >=sys-libs/libunwind-1.1-r1
-       >=dev-libs/icu-57.1
-       >=dev-util/lttng-ust-2.8.1
-       || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0 )
-       >=net-misc/curl-7.49.0
-       >=app-crypt/mit-krb5-1.14.2
-       >=sys-libs/zlib-1.2.8-r1"
-BDEPEND=""
-
-S=${WORKDIR}
-
-src_install() {
-       local dest="opt/pwsh"
-       dodir "${dest}"
-       local ddest="${D}/${dest}"
-       cp -a "${S}"/* "${ddest}/" || die
-       fperms 0755 "/${dest}/pwsh"
-       dosym "/${dest}/pwsh" "/usr/bin/pwsh"
-}

diff --git a/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild 
b/app-shells/pwsh-bin/pwsh-bin-7.0.3.ebuild
similarity index 63%
rename from app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
rename to app-shells/pwsh-bin/pwsh-bin-7.0.3.ebuild
index ba33111..b610cd2 100644
--- a/app-shells/pwsh-bin/pwsh-bin-7.0.0.ebuild
+++ b/app-shells/pwsh-bin/pwsh-bin-7.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -8,9 +8,9 @@ HOMEPAGE="https://powershell.org/";
 LICENSE="MIT"
 
 SRC_URI="
-amd64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz
 )
-arm?   ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz
 )
-arm64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz
 )
+       amd64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz
 )
+       arm?   ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz
 )
+       arm64? ( 
https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz
 )
 "
 
 SLOT="0"
@@ -21,12 +21,14 @@ QA_PREBUILT="*"
 DEPEND=""
 RDEPEND="${DEPEND}
        >=sys-apps/lsb-release-1.4
-       >=sys-libs/libunwind-1.1-r1
+       sys-libs/libcxx
+       dev-util/lttng-ust
        >=dev-libs/icu-57.1
        >=dev-util/lttng-ust-2.8.1
        || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0 )
        >=net-misc/curl-7.49.0
        >=app-crypt/mit-krb5-1.14.2
+       sys-libs/pam
        >=sys-libs/zlib-1.2.8-r1"
 BDEPEND=""
 
@@ -34,6 +36,7 @@ S=${WORKDIR}
 
 src_prepare() {
        default
+       #there are no these symlinks in arm bins
        use amd64 && rm libcrypto.so.1.0.0 libssl.so.1.0.0 || die
 }
 

Reply via email to