commit:     6aa244d8b00f158a9e0ec3fe173fc32907a04152
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 21:41:15 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 21:41:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa244d8

app-shells/pwsh-bin: bump to 7.2.5

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-shells/pwsh-bin/Manifest              |  3 ++
 app-shells/pwsh-bin/pwsh-bin-7.2.5.ebuild | 51 +++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest
index c2dae793cebd..d7c918c97ca2 100644
--- a/app-shells/pwsh-bin/Manifest
+++ b/app-shells/pwsh-bin/Manifest
@@ -4,3 +4,6 @@ DIST powershell-7.2.1-linux-x64.tar.gz 69668637 BLAKE2B 
c173216df2147e5f857533cf
 DIST powershell-7.2.4-linux-arm32.tar.gz 66241774 BLAKE2B 
6a37a929b3f315c00fa4da97d9a3a1f394224a35d03121b610b46de765dbf20ecbc6603250245fa4b07e666761a48a61c172ebb7e5d36f027ef7e985d4ac2734
 SHA512 
9d87bd111e6513f0771632bd6ae656d8a6488427707875b85c0b28cced5a2879a0c311a48e280dd9947ac767fed3ecc916441b04cf29bd80467715411858e899
 DIST powershell-7.2.4-linux-arm64.tar.gz 64769626 BLAKE2B 
855daf5f18f5e5645d0efadc5b6db06175f9650f215c6e76a4348081685d368b93abd3cab145593074899c5ecd4b4f622bb0a3730181ccf2137d9b08a4b0ed4e
 SHA512 
a1538b3a12824ffde0d75e5a0e047d0d39fd697ecac691285c39656a7e507fb0ca02d5fa2594d575cda70b1b1ff858f157f1160fc7320d3d342fe226ea67d7c6
 DIST powershell-7.2.4-linux-x64.tar.gz 69406638 BLAKE2B 
b7676de3c23417d92b7540754d94dbefa829d98ddedc4045de2b220bebc54a44fddc59538f6cfaaea69e67d5d46d67767c446777b29d22654b8e26858c29a6c0
 SHA512 
748c0459f00d52066c6da38bff88d03a25fcf65a9a9318614fd21f4984da8e459e0c0461663f23dd716fb285bbfeb406b88f6cf30aa9dd3eb356b2a850792f45
+DIST powershell-7.2.5-linux-arm32.tar.gz 66201903 BLAKE2B 
cdf6b2f53b0392fdc9a4f2761dc13406be7b87e6814e926bb7838c64d27edb92839bca41e3e1993cc3316eaac21d025b57ebdbdd55a88c209b9b84946c36fe7d
 SHA512 
5eff39888d9c375ff891371b8fd2ef8c9a2ff5917504c1569733767d2def33aa047836a54f4f15f6260adf46a05f4e8ae912ba2e86029c4a34cd47bb5085d9b4
+DIST powershell-7.2.5-linux-arm64.tar.gz 64716033 BLAKE2B 
06df8b25795f4df10c057acc8d001c46bcf4f5137e8d4a841216c172ffdb20d6ba3b31528f2f766a91ccbe1bc62f202ba78acef4a6af732a20035aac4a5ef9be
 SHA512 
3ff38d1b109c0b9fdd8d20aa9ddd817424cf7883da7f4f16dcdb70c0f1260841ea6f61a3a675aabc471722920c8ba8f25a24885825cc7e29a9d5617876c070dd
+DIST powershell-7.2.5-linux-x64.tar.gz 69364625 BLAKE2B 
71a91e9d8196cca8a903fdeac1c8b4a7f6ad9c21d649fc5aeaf1cf3033cde3141219513b2a9661d36280c95746cfc0b4c47b3fe3cecff4f9feaffe60043c0743
 SHA512 
96efbcf4f325338bc9aa4da7b955366cc49bae89a98d5ad53840386aefed59e929b62d91d5bdbbe57e4bf471cd31c57e1fa5b4cd42f60b797bb438c165cf432e

diff --git a/app-shells/pwsh-bin/pwsh-bin-7.2.5.ebuild 
b/app-shells/pwsh-bin/pwsh-bin-7.2.5.ebuild
new file mode 100644
index 000000000000..c78be49848d4
--- /dev/null
+++ b/app-shells/pwsh-bin/pwsh-bin-7.2.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="PowerShell - binary precompiled for glibc"
+HOMEPAGE="https://powershell.org/";
+BASE_URI="https://github.com/PowerShell/PowerShell/releases/download";
+SRC_URI="
+       amd64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-x64.tar.gz )
+       arm?   ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
+       arm64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
+"
+S=${WORKDIR}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="+pwsh-symlink"
+REQUIRED_USE="elibc_glibc"
+
+RDEPEND="
+       app-crypt/mit-krb5:0/0
+       dev-util/lttng-ust:0
+       sys-libs/pam:0/0
+       sys-libs/zlib:0/1
+       || (
+               dev-libs/openssl-compat:1.0.0
+               =dev-libs/openssl-1.0*:0/0
+       )
+       pwsh-symlink? ( !app-shells/pwsh )
+"
+
+QA_PREBUILT="*"
+
+src_install() {
+       local dest=opt/pwsh
+       dodir ${dest}
+
+       local broken_symlinks=( libcrypto.so.1.0.0 libssl.so.1.0.0 )
+       local symlink
+       for symlink in "${broken_symlinks[@]}" ; do
+               [[ -L ${symlink} ]] && { rm "${symlink}" || die ; }
+       done
+
+       mv "${S}/"* "${ED}"/${dest}/ || die
+       fperms 0755 /${dest}/pwsh
+
+       dosym ../../${dest}/pwsh /usr/bin/pwsh-bin
+       use pwsh-symlink && dosym ../../${dest}/pwsh /usr/bin/pwsh
+}

Reply via email to