From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2918F158089 for ; Sat, 28 Oct 2023 14:05:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71C0C2BC018; Sat, 28 Oct 2023 14:05:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D93BE2BC018 for ; Sat, 28 Oct 2023 14:05:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E340B335C31 for ; Sat, 28 Oct 2023 14:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 224EE12E3 for ; Sat, 28 Oct 2023 14:05:05 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1698501897.1674ef5ae1370792d321d91a0f21e3dd19bbdc3d.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/pwsh-bin/Manifest app-shells/pwsh-bin/pwsh-bin-7.3.9.ebuild X-VCS-Directories: app-shells/pwsh-bin/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 1674ef5ae1370792d321d91a0f21e3dd19bbdc3d X-VCS-Branch: master Date: Sat, 28 Oct 2023 14:05:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8e3b31a-ce23-4209-b267-bcaf9a89a3b6 X-Archives-Hash: 428348bbc6d745a9b1054ec6eb6b7210 commit: 1674ef5ae1370792d321d91a0f21e3dd19bbdc3d Author: Maciej Barć gentoo org> AuthorDate: Sat Oct 28 13:15:43 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Oct 28 14:04:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1674ef5a app-shells/pwsh-bin: bump to 7.3.9 Signed-off-by: Maciej Barć gentoo.org> app-shells/pwsh-bin/Manifest | 3 ++ app-shells/pwsh-bin/pwsh-bin-7.3.9.ebuild | 69 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest index 85cc1f41165e..420baee379bc 100644 --- a/app-shells/pwsh-bin/Manifest +++ b/app-shells/pwsh-bin/Manifest @@ -7,3 +7,6 @@ DIST powershell-7.3.7-linux-x64.tar.gz 69092859 BLAKE2B 9db34b8dd6f5254a8f8f2a87 DIST powershell-7.3.8-linux-arm32.tar.gz 66622219 BLAKE2B 187c13065d7db2d01541e36c888fb59b24b05e10b0b85b73c9a3ca2a3f93d49e1aa17734fbf04bcdb5c350c151dd49394caa0eed6d16105bee7608784fe516d5 SHA512 967c49c1d1644d4bf188b06dd67ee92eb292c3a3232b63d49608fcc1ec23caed2cc1b9bd5035902ac91610e4bf0def7c311be984350bcfcd170dae7ffb8c79cf DIST powershell-7.3.8-linux-arm64.tar.gz 65538450 BLAKE2B 3e9e1e0f116b1bbeaf832116efb926a31cd73032f3ffc364ef8f9dd7a18cd7b3a6111c71d0af2d91ebbed59166a734efaeb526d88f930ed4474560e3c122649c SHA512 7163d57eb593dda5a8f8df181d6477b8a48fa5f0cc169a91188740b166bded7f67e7533999023fe5f31357c6066ca357608aab8d82b4c16a37e9c4260cd5f751 DIST powershell-7.3.8-linux-x64.tar.gz 69101356 BLAKE2B a96efbe39a1917244dbd8da51b41d9944fc871c30c0efcb34e66dad35990be27e899a570be25473ae94a2703e5c0349fa7ba514c29ed108287f471b0ec957236 SHA512 d2cd1619fc4e1c26166cf4d3f5fcf9595d4efad4099cbca7593dc048fdc199e90ffabc157b99f0d3c623ece17d95d8587192597d34172aaf398393a6af6c96eb +DIST powershell-7.3.9-linux-arm32.tar.gz 66608348 BLAKE2B e1f5834f91ca86ae7d8c5e7a6f6b66c868e67b4abe2e99b0b405d71364a8245fb9fa16cd4fee322e50aa80ca695b72e8857857a32e85c1ee9f531bb80dc5ffd3 SHA512 f4f852d549e140d1393b120634e3c473ff6815096008009115fe151dfe7d6c9efb1d887135be5e8930fe1ccd1edc9d31514b8b9e901498cd0890e6f6707a3491 +DIST powershell-7.3.9-linux-arm64.tar.gz 65514607 BLAKE2B 5199011b22953b1ff228a20500e989e341262004cdb2d22ae4dd2391567a876491e6b9e3666b4a388e81d344a907af38acba6bd934519376247a75d16894a511 SHA512 12f1ff0f8600f81a6d7444a9fc0b3cfa1e3704193402f678d36e029039ce35c7e0696f09332c2fd1514eba0f7fb004b3a725e42c9c344f567ba5f2430cbb0bcf +DIST powershell-7.3.9-linux-x64.tar.gz 69086550 BLAKE2B 4e31c219db750fca3d03879198e77a83a3497207f76b8bd9c9eaee53ff21aa6a2afdfc43134086bf992dccd195ff8d04db2948977c34d80157f31b47f4067b71 SHA512 f5dabe4ef79d2b2ba1f28f222903e92c032e1e58bb926a72326f153e98e2b51e57e68d01158c63f44402f0455e4a73df5a3bf9b64d0561e3cf1980033ba9c9e4 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.3.9.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.3.9.ebuild new file mode 100644 index 000000000000..d5dc3e03bc4a --- /dev/null +++ b/app-shells/pwsh-bin/pwsh-bin-7.3.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 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 +}