summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-06-19 12:48:04 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-06-19 14:32:41 +0200
commitf3d1d16e6c08a818b25cb3cf5b652a2d1f531f71 (patch)
tree285ce280267e768e0ec50aa4ab1cda782963da9b /app-shells/pwsh-bin
parentapp-shells/pwsh-bin: drop old 7.4.1 (diff)
downloadgentoo-f3d1d16e6c08a818b25cb3cf5b652a2d1f531f71.tar.gz
gentoo-f3d1d16e6c08a818b25cb3cf5b652a2d1f531f71.tar.bz2
gentoo-f3d1d16e6c08a818b25cb3cf5b652a2d1f531f71.zip
app-shells/pwsh-bin: bump to 7.4.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-shells/pwsh-bin')
-rw-r--r--app-shells/pwsh-bin/Manifest3
-rw-r--r--app-shells/pwsh-bin/pwsh-bin-7.4.3.ebuild71
2 files changed, 74 insertions, 0 deletions
diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest
index 988cc04730be..c2bb135b660b 100644
--- a/app-shells/pwsh-bin/Manifest
+++ b/app-shells/pwsh-bin/Manifest
@@ -1,3 +1,6 @@
DIST powershell-7.4.2-linux-arm32.tar.gz 69243670 BLAKE2B fc9fed5cbe102758e13e7a2c74be8304460ce5e8bae3cac46e1f4aec570ded150c28d0e9e847ba89413effcc0d8ed9bd352240ad616a4104e89b580be69821a3 SHA512 662b1625cc340ef616d7d68d31ec6845be0e69d99f9b608b0e8ea4a3427ff43ecbe5991d9a8bf65643082d3800342bb273e44850ad830f8f37db3c58e2d4fc1d
DIST powershell-7.4.2-linux-arm64.tar.gz 68233646 BLAKE2B 5bf91f9f5ea32eeaf1075acb88830e97f4368c5f88d83fcdf7de02c1474f1f306a55a36ba7d9ec862a3c59c51c5ff56976b4309b9c26a66a06e50d8f2291e6b2 SHA512 b6eddc877c4fee9bb81cde8203e92504e5d33c3fe804d74fb2bb617825e359e42f30ec7b345b46cce8204b73084ea83986f45c4aaaa15771ea5eeb42a285d5fd
DIST powershell-7.4.2-linux-x64.tar.gz 70975224 BLAKE2B 5500161a8ad290c92e4a0cc4c3acc466514fdf42dabc826d0a8995f9867d26272f612b357225e6f412e20d6cf0ba9b8c3c42bef6af46b65d77d0db3b6e932f32 SHA512 148524245a11ce471ea58c83f4048ee4a4fef4add1071ea66c876ff041bee71322a80d9db8ad70665f168846c6074c96e327b481fb4190cf9f8652788fc32036
+DIST powershell-7.4.3-linux-arm32.tar.gz 69113670 BLAKE2B 91cb3037633ea44578d0230f7c36495c83539b708225394d81df9ea63a2a71fa385aad83c453a92e925a5106d12d3a5f4af56765969dc7e808d941cd993a6453 SHA512 623b9fc692bb062506b6d8a2f0236455645a157f03f221603d0e64269a1f890e3ac5691e6789890eac68732cdd9e476187acb96609e83ffe66220718c701dca2
+DIST powershell-7.4.3-linux-arm64.tar.gz 68142136 BLAKE2B f24caa93d786097a6b96d3d704dc0f606a288a6bdfc47a99ff7cbca45df2073eb43e159ba3479b1fdee774eab064ce6f42a09a64f73f5b18cb0d034566566180 SHA512 0caf512a3458f46a72c9e192dc00e4598eb1a4368b965c440ba29756dae72798b906f977c66e6354a91a8c0022cb3b0ea6ea5e25be311620badf37e1361b0d18
+DIST powershell-7.4.3-linux-x64.tar.gz 70893666 BLAKE2B bc898eeafdf7b0eb2c3c1420b80c83c5810a4f0d4da0338e787fbd4e1f163eb6a93eae8582280f9c3ab023045f3fe3143fa3481cc5fb86424ec4476ffd1ab3a1 SHA512 4bab6bce57db764c90fe4c614e1627bd4618b50ce5049ae9b4815cb989599147d5be4c7d39dbae6134d8df3bc5f1316bea527d8ab0824f4331518d6b00743f8e
diff --git a/app-shells/pwsh-bin/pwsh-bin-7.4.3.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.4.3.ebuild
new file mode 100644
index 000000000000..e09b2d5daf99
--- /dev/null
+++ b/app-shells/pwsh-bin/pwsh-bin-7.4.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit wrapper
+
+DESCRIPTION="Cross-platform automation and configuration tool (binary package)"
+HOMEPAGE="https://microsoft.com/powershell/
+ https://github.com/PowerShell/PowerShell/"
+
+BASE_URI="https://github.com/PowerShell/PowerShell/releases/download/"
+SRC_URI="
+ amd64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-x64.tar.gz )
+ arm64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
+ arm? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
+"
+S="${WORKDIR}"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64"
+REQUIRED_USE="elibc_glibc"
+
+RDEPEND="
+ app-crypt/mit-krb5:0/0
+ dev-libs/icu
+ dev-util/lttng-ust:0/2.12
+ sys-libs/pam:0/0
+ sys-libs/zlib:0/1
+ || (
+ dev-libs/openssl-compat:1.0.0
+ =dev-libs/openssl-1.0*:0/0
+ )
+"
+IDEPEND="
+ app-eselect/eselect-pwsh
+"
+
+QA_PREBUILT="*"
+
+src_install() {
+ local -a broken_symlinks
+ broken_symlinks=( libcrypto.so.1.0.0 libssl.so.1.0.0 )
+
+ local symlink
+ for symlink in "${broken_symlinks[@]}" ; do
+ if [[ -L "${symlink}" ]] ; then
+ rm "${symlink}" || die "failed to remove ${symlink}"
+ fi
+ done
+
+ local dest="opt/${PN}-${SLOT}"
+ local dest_root="/${dest}"
+
+ insinto "${dest_root}"
+ doins -r .
+
+ fperms 0755 "${dest_root}/pwsh"
+
+ local gentoo_path='PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"'
+ make_wrapper "${PN}-${SLOT}" "env ${gentoo_path} ${dest_root}/pwsh"
+}
+
+pkg_postinst() {
+ eselect pwsh update ifunset
+}
+
+pkg_postrm() {
+ eselect pwsh update ifunset
+}