mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-shells/pwsh-bin: bump to 7.5.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
DIST powershell-7.5.0-linux-arm32.tar.gz 73099698 BLAKE2B 78062f0425c9a376b1273f8fdbf583ed5c25ba1728fa3ba6ab0025bfe727695806f5c6c4906c48be767b0c89818a6b457ff298395e774130ce7eb9c247c14054 SHA512 9d1133ffa71bf2a118ed8f58aa2e76510f3795c31dfd3a3e873a9ab764638f58b4b8d9fb7430d7ca733dca837274ee615bf69d96dd61bad7034a1d8367f9f739
|
||||
DIST powershell-7.5.0-linux-arm64.tar.gz 72162663 BLAKE2B 8f0610453ba3c4022599cfccc1ecec8bf1e162c1eb1664e41958db00e72311302f7d662c30c7d324f27ce07bb466e20178822ee4aad0ec0b975e828ff2b7783c SHA512 087ba4314f839030cefe2da584b23ea5531f7110b8ff5887bcf50b12fee97d25e3e4360c4d827e8400cee3acd63299fbdade79f867c7966efc76611d07ccfe4b
|
||||
DIST powershell-7.5.0-linux-x64.tar.gz 75357229 BLAKE2B 0c763a9575b58bd05efd0644d2c84552f89d421fcc6218109c0d13330b7d723f09df0306f8021edf928a635ee162d4df981d8591552dd0aa0978c4a500d4e53e SHA512 6bf4600669c7a1b4c12093518ab6922df5a4557e925e5646ab3a996073ccc72ca43d8893fd662d54cd392f4e32f1bcea6edb5c9a1d5f71155f8fbf2298499bd0
|
||||
DIST powershell-7.5.1-linux-arm32.tar.gz 73122631 BLAKE2B 952b777a57b718ba894fcc043b1400f085dcddfc47b264e8cf958b15cbea866057bf1c418b5021fdf59f7e0bf92f1d6dd771ec8cea5aec0b75202e3f32d5bba4 SHA512 388d5a7841af3245d3a85bf0cdfcbde08b4dddcaaa6f1216097fe14be6276451931ab01baa3599ae753e39f2ffdc0d28bd3b2a3afb35faf9b8531dbf593d1e8c
|
||||
DIST powershell-7.5.1-linux-arm64.tar.gz 72193995 BLAKE2B 81fea5409f5479d67cf13f33ff6109cfa731d4e4324a059b9b7eaf945c893ed6a2a9bec698afc0acd292145062ee1a40cab8362b3a48645fa9b8d98cf40528e6 SHA512 1195ae7c8573397b150b666ea0e77b3745d810519e114365a9cb910fef6b21dfaa26da328c5fe1ea6f156b7efd2ee71c3a7a897b7d47d25f52dde615d84668eb
|
||||
DIST powershell-7.5.1-linux-x64.tar.gz 75376756 BLAKE2B 55db55ddd2d91e32723e1fcc551234b796db22939b485977de6ca3642561cc2a3dbc08ac24384e8ee2546face204e98e1e22a66769dde005a439398c5da36972 SHA512 15c5b41888a72f7414ab81617c81c8b745ed25468c379ed0be0d068a77bb0ea76e785fd4ac57d3e1464a275ada1f086441b07d83a4cbf36725086713f436699b
|
||||
|
||||
71
app-shells/pwsh-bin/pwsh-bin-7.5.1.ebuild
Normal file
71
app-shells/pwsh-bin/pwsh-bin-7.5.1.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2025 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
|
||||
}
|
||||
Reference in New Issue
Block a user