Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/pwsh-bin/
Date: Fri, 06 May 2022 16:20:09
Message-Id: 1651853997.f39236c1657c265a6525e800b038277cb348c0bb.mgorny@gentoo
1 commit: f39236c1657c265a6525e800b038277cb348c0bb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 6 16:17:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 6 16:19:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39236c1
7
8 app-shells/pwsh-bin: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-shells/pwsh-bin/Manifest | 6 -----
13 app-shells/pwsh-bin/pwsh-bin-7.1.4.ebuild | 43 -------------------------------
14 app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild | 43 -------------------------------
15 3 files changed, 92 deletions(-)
16
17 diff --git a/app-shells/pwsh-bin/Manifest b/app-shells/pwsh-bin/Manifest
18 index 6e590ac0b132..21fe429c3986 100644
19 --- a/app-shells/pwsh-bin/Manifest
20 +++ b/app-shells/pwsh-bin/Manifest
21 @@ -1,9 +1,3 @@
22 -DIST powershell-7.1.4-linux-arm32.tar.gz 64878390 BLAKE2B 5fd82e562b5db20f7d0b5335969eca6a0821bc7ee23aca6d60a0ef9f7fbf4888d515f8a1fabd5b5fdf8de6418abcfbad481bec5b3dd4635f072007ebc6ecb634 SHA512 cd48f644f483dcc8594aba1220912f731345cfe0316ef21ec1663d16fc36e95d2c6891a742bade31f3450e3cedbe689f7804ae8f90737ae23d04a39adb6c4171
23 -DIST powershell-7.1.4-linux-arm64.tar.gz 63726773 BLAKE2B f59c75a8dfd9d12f7c41c3035524a4c9991923dfc04e8eb61f8440de1d110932c769f84806fb2b33a9179817d57179e1c70de7b3199c78023d75f22fbaad5a83 SHA512 7eca9d5c6cfe57b0920a49d4f22499f509c1125a5a91876f17bcadd1a6e049bf3bc9d0abf0bb460823d06b67c8c065abf100c8f989353c7f28f993c07b44005f
24 -DIST powershell-7.1.4-linux-x64.tar.gz 68255681 BLAKE2B 7a57298cdea29e430b67cad965d16f533fab67aaf7009db8cd68683f5e987dab48f12c779c87a0a1538a1ecf7ed2be25011578b7491a092d86f7d386ec8ac6a4 SHA512 b15098a1ab1fc357f0351fc2146e6be3f060ef90dd38ced2e3379b24a0bcb4f28a7c4c655509e62824c56ce905162a7c81bd0a853c5320bd8139a3a4178b97a1
25 -DIST powershell-7.2.0-linux-arm32.tar.gz 66486780 BLAKE2B ffc23554feca1e26da15e5c672a3eb9bc25befdbfe64f812cd80fd6820c94b94a8719170878e7852d6b48a7538295fa231b24f4f51013c0288c84a5990a0af1f SHA512 2d618c4600128011575e00e20437bf9a417b6fd60cfdb8450b218d17d1a0bed3f3e35bbd6a050ca1eb8d03a22995712cc739d73bcb03e22a494ffac1934c18eb
26 -DIST powershell-7.2.0-linux-arm64.tar.gz 65020702 BLAKE2B bfb7fc46efe62252290cef124030bdcb24511c219c797e344bc4deb452b2051ef5b0d23977547efcba755eb11c6282b9fe9121cc6451e04cc640228e499bd08d SHA512 dcf534471b5ef909ec989496224bedd4b4a0c38ff8a7d7d81e9b01be68c9b1141ff76b2de3dd9f36b51277165c3cfa5a2c80b2a23c6204dc5d1a09dae40c8761
27 -DIST powershell-7.2.0-linux-x64.tar.gz 69653102 BLAKE2B 5a85f49f675047c86928fb733d12462351a25c079876c4d0a37ddc36f5a4ecf91fb3009b625f156f291099c51e189638e10bed51763e8fd458b70160f5ce8d61 SHA512 f07a038ef8e7c4894f78139c08739a605ce0deb79d2f0e9d5abb8be5fda31a1636804c99c0dceedd5798e08e353263c338b98b7477eb40ebfb875545b0cbf3fb
28 DIST powershell-7.2.1-linux-arm32.tar.gz 66500447 BLAKE2B 2390a26c871abf7012834d8401b6d1afd4c290c7a68794454c2926c782e4ddc20165d1f50718f2ec2b268bcfc2414bc454e211f3bf1eb3c77eb4939e52b7d846 SHA512 29f6c1a926c8cff6386e4d98ce91ec4ff91c19d0cd4cacdc8d3da1c65858841695a466e0a1c9106df6da1fa7d79ac96de023e564be6ba1ac00d5c94216380ed8
29 DIST powershell-7.2.1-linux-arm64.tar.gz 65023197 BLAKE2B 8acd526537695e29d44d4e7445dd4fce1c0b2bb8a2cda57c353d7e21aac4efe85aa9e6752d71afb276f5035d0951e5f5684ea88751a25848387e4d5ea37d36a5 SHA512 094659aa63e2f4728997eaa086f1a74f34eb4876f1e679cb595a0c07c4133b42fbeb45fafbd3b916df8529a63fe98e2ffc54b0de66f3c8d17d9d72e03d35f0b8
30 DIST powershell-7.2.1-linux-x64.tar.gz 69668637 BLAKE2B c173216df2147e5f857533cf35a6adaafe8e34f3b475bab6696c09f118ea62fd8304f25bbcfc9ef07807aee87f44ed0829d170ca878039a3ade5853235b61e82 SHA512 63a84dae492c0f1ef13629a50bf5b33fa9d5dd8d0d878a2e1dce185b398ef39467498ae7ea75b78326fb4c669fa77bea0549280fb6669e28cb0191a48fc374de
31
32 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.1.4.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.1.4.ebuild
33 deleted file mode 100644
34 index b3bb0706496a..000000000000
35 --- a/app-shells/pwsh-bin/pwsh-bin-7.1.4.ebuild
36 +++ /dev/null
37 @@ -1,43 +0,0 @@
38 -# Copyright 1999-2021 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI="7"
42 -
43 -DESCRIPTION="PowerShell - binary precompiled for glibc"
44 -HOMEPAGE="https://powershell.org/"
45 -LICENSE="MIT"
46 -QA_PREBUILT="*"
47 -SRC_URI="
48 - amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
49 - arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
50 - arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
51 -"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~arm ~arm64"
54 -RDEPEND="
55 - app-crypt/mit-krb5:0/0
56 - dev-util/lttng-ust:0
57 - || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0/0 )
58 - sys-libs/pam:0/0
59 - sys-libs/zlib:0/1
60 - pwsh-symlink? ( !app-shells/pwsh )
61 -"
62 -IUSE="+pwsh-symlink"
63 -REQUIRED_USE="elibc_glibc"
64 -
65 -S=${WORKDIR}
66 -
67 -src_install() {
68 - local dest=opt/pwsh broken_symlinks=(libcrypto.so.1.0.0 libssl.so.1.0.0) symlink
69 - dodir "${dest}"
70 -
71 - for symlink in "${broken_symlinks[@]}"; do
72 - [[ -L ${symlink} ]] && { rm "${symlink}" || die; }
73 - done
74 -
75 - mv "${S}/"* "${ED}/${dest}/" || die
76 - fperms 0755 "/${dest}/pwsh"
77 -
78 - dosym "../../${dest}/pwsh" "/usr/bin/pwsh-bin"
79 - use pwsh-symlink && dosym "../../${dest}/pwsh" "/usr/bin/pwsh"
80 -}
81
82 diff --git a/app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild b/app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild
83 deleted file mode 100644
84 index b3bb0706496a..000000000000
85 --- a/app-shells/pwsh-bin/pwsh-bin-7.2.0.ebuild
86 +++ /dev/null
87 @@ -1,43 +0,0 @@
88 -# Copyright 1999-2021 Gentoo Authors
89 -# Distributed under the terms of the GNU General Public License v2
90 -
91 -EAPI="7"
92 -
93 -DESCRIPTION="PowerShell - binary precompiled for glibc"
94 -HOMEPAGE="https://powershell.org/"
95 -LICENSE="MIT"
96 -QA_PREBUILT="*"
97 -SRC_URI="
98 - amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
99 - arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
100 - arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
101 -"
102 -SLOT="0"
103 -KEYWORDS="~amd64 ~arm ~arm64"
104 -RDEPEND="
105 - app-crypt/mit-krb5:0/0
106 - dev-util/lttng-ust:0
107 - || ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0/0 )
108 - sys-libs/pam:0/0
109 - sys-libs/zlib:0/1
110 - pwsh-symlink? ( !app-shells/pwsh )
111 -"
112 -IUSE="+pwsh-symlink"
113 -REQUIRED_USE="elibc_glibc"
114 -
115 -S=${WORKDIR}
116 -
117 -src_install() {
118 - local dest=opt/pwsh broken_symlinks=(libcrypto.so.1.0.0 libssl.so.1.0.0) symlink
119 - dodir "${dest}"
120 -
121 - for symlink in "${broken_symlinks[@]}"; do
122 - [[ -L ${symlink} ]] && { rm "${symlink}" || die; }
123 - done
124 -
125 - mv "${S}/"* "${ED}/${dest}/" || die
126 - fperms 0755 "/${dest}/pwsh"
127 -
128 - dosym "../../${dest}/pwsh" "/usr/bin/pwsh-bin"
129 - use pwsh-symlink && dosym "../../${dest}/pwsh" "/usr/bin/pwsh"
130 -}