mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
app-shells/pwsh-bin: bump to 7.6.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
DIST powershell-7.6.3-linux-arm32.tar.gz 74717146 BLAKE2B bc9be4c979a04b95d30ab8b2e3562f2173147bf9df1475e5d54f1b5c437c8c42643061a7ccb94f7c3a599873073d107e41b953f60a427087a809aeba59e9d191 SHA512 064019beef7fa96927abd69e16882bd84f2ed4dfffc7285c036a215d3d0d2a19f2d94031e37574582cdb034e20f05c158d34544fa7a2709fc4d65f8041637c5b
|
||||
DIST powershell-7.6.3-linux-arm64.tar.gz 73554413 BLAKE2B 87e5fb91d58e8323f882f365b6477400c6ceb2ce2550ee55ab0f22f6a9fbab50143837783bdba190e3ef7c9094328f5e8c3fd71fc5127059985feb7194d8d46b SHA512 8226837e57592ccd6ed83dff760b74ee7e43c23bf54ec895ac0d9d0d82b6989261cfe27dd1ffa76fa5494244e4b9aba385a4e10655bad67badf6212e275e84f9
|
||||
DIST powershell-7.6.3-linux-x64.tar.gz 77543414 BLAKE2B e9a745fa32e477fe4228f685974f6d64f4c9443123d7b41b0100c81b99758bab780e470bedd7123bd10c32def4ed998180b0b646aab82cfe48e4c715ce090df7 SHA512 57811417969fe3dbc07d60f28e9aa326b1f048b025adf474a6f11f3afd34ff21ef8ba8a2a6848246ecc6d3e9ec1c536078cc6faf5cbc41e8d2062947e36387e6
|
||||
DIST powershell-7.6.5-linux-arm32.tar.gz 70527559 BLAKE2B c71b3106248ea8f1bd3f159f58be7e857d600053e0330d7f88dc9d49134e1a1d149b0f1d2d92af5313d16a0e6c476cdb19e251c73128e55b42f15c482839791b SHA512 89b2f68e3a8f7b586901cf882bccf872b679106824f1105c8ee035924aa3145ab79d646bd17e0e474f10a584d62d7e4cc25506a203bdedc6638a747e5493420b
|
||||
DIST powershell-7.6.5-linux-arm64.tar.gz 69401720 BLAKE2B 1f76f58888fa61c958b30d42e8b36b2d634dfa8f28fc6e6c918aedd494270d2a01b9eae9a3977be211de3b29261ac5dcf1eb36c07378c28e3b67964205ede379 SHA512 664c57f4653e03668e5b959406be89155207d9f5591f1e27c0427c32a6ade6f5a6fcf6ac51c6cb8626edf9ef63fb7917c12fa4f89f48b1309267e88b4d3def4c
|
||||
DIST powershell-7.6.5-linux-x64.tar.gz 73393424 BLAKE2B ca6f67204ae9d8b0d1c28fd854c24cd924c9c17d3adb1577777f461c10d12d458bdcfbffd9e643e3a48c92e9252dd220ec31a2d01e5078ebc08ffc8223864b7c SHA512 8fc4c8d62a9e361c069cb07ec30ca2d2916b7dffa04de6755b35e27d44491d21608b00860ecd828e6aaf43d2ee22a54099c31aba93263617f95c0f265e280d2e
|
||||
|
||||
71
app-shells/pwsh-bin/pwsh-bin-7.6.5.ebuild
Normal file
71
app-shells/pwsh-bin/pwsh-bin-7.6.5.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2026 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"
|
||||
RESTRICT="splitdebug"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5:0/0
|
||||
dev-libs/icu
|
||||
sys-libs/pam:0/0
|
||||
virtual/zlib:0/1
|
||||
|| (
|
||||
dev-util/lttng-ust-compat:0/2.12
|
||||
dev-util/lttng-ust:0/2.12
|
||||
)
|
||||
"
|
||||
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