commit: fc9b70eba199beaa1f976661ed8976db2ee72c3f Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Fri Oct 10 21:59:15 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Fri Oct 10 23:39:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc9b70eb
app-shells/pwsh-bin: bump to 7.5.3 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-shells/pwsh-bin/Manifest | 3 ++ app-shells/pwsh-bin/pwsh-bin-7.5.3.ebuild | 74 +++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 847c7ac7472b..67d203e1ac68 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -1,3 +1,6 @@ DIST powershell-7.5.2-linux-arm32.tar.gz 73168663 BLAKE2B 4976060f2067f491dcb7a308e90b4fc05b295af1fbd26fe07e069031fa10543ccb7ec983190f40199efb66cd7b56704caec861cc6b07d07afab58095c53d46ea SHA512 895afc0f71b605b668f466b6b5f54219efb9ddc9078db25f068bf6f41fe2953e28778ccdaa62cfad071b21cc9b6065b5582418cea14ce0d6ee8134be6ee53921 DIST powershell-7.5.2-linux-arm64.tar.gz 72201436 BLAKE2B e50a5be999ff511dc5733a72f40fe52464b0d4acc02191d768f9385a3f0eb6759a3c041a28f0d6bc66ab6eb6228b0521842029d9225a5e5ca7f0cd39d657133d SHA512 5775561d4a959d9b817b72f0a73d623dbe7f008fa218f0cbefe695aa9af1d7fec3fc5820d10bab265b29e4edc4c25badffd6c7d1154d074ce2c6b52c7da729fa DIST powershell-7.5.2-linux-x64.tar.gz 75345318 BLAKE2B 2e8c8ea7d87a4f9aafca0b5e4fdba3b28e5b6d35d07597c74076d88d7fab4dad9dcba19decc5182b4cbe114c9de7cb25c51643e63bf79269dfed96fa79f4e04a SHA512 5d44f6632e8090a79c396d0b679c6a5ea8833df23d2ea2e3c1c74664b14cb9d748625870b4e8caa5ed99f47d93a5246dd30097c773ccc9090982ab470b446276 +DIST powershell-7.5.3-linux-arm32.tar.gz 73184831 BLAKE2B b80b9fdad9d16c86ba1d833e47087c0026920e3a82c5f9b6c21b994a2574414cc20c288d0d3d726df67e38f402d091bcf677fe7483aa78600bc63504b32276b4 SHA512 766cf8a6e1840b19de9ebf1a082a8c1e39766fb293a1ea48a824e304810bc57f3355b0ad2b3f85f5fe899a2c37b68c3bb280ec040ceb0ebbcebf92f557cb4479 +DIST powershell-7.5.3-linux-arm64.tar.gz 72238753 BLAKE2B 9fb83ae4f39c08e98c38214f48961709d788036585e0f0c461247278bd9e5ee4f54c8c9beea00b95af051c488ad09c9f447b5a98a4723c4fb8491ab911936a17 SHA512 1f24a7c8ef6627d71cea2afd9321ba791eb09ff74875d79ce582148301bd4e9d78a5688bd27f99fee61bf09784eb14866bd482d5af39bb197f506853b533e552 +DIST powershell-7.5.3-linux-x64.tar.gz 75413418 BLAKE2B 49b028a3223d409460aeb8f4fe562baefd0f1f73e2fec2ee5850fbe331640998f92880873ee8b8727716d56176823e344dc71037a4ce2775bb9bc2ed5777a968 SHA512 4c931c256ae292df44ea15f851aaa2977f851d7c3994c3160d7c4eed63d568b30c61c85c440b95a8b0ec7bf36f84baaa4b7d6ea4e34ec792cfe52c4e307d4523 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.5.3.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.5.3.ebuild new file mode 100644 index 000000000000..e6d1198cfee5 --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.5.3.ebuild @@ -0,0 +1,74 @@ +# 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-compat:0/2.12 + 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 +}
